meowbits's Profile User Rating: -----

Reputation: 1 Apprentice
Group:
Active Members
Active Posts:
107 (0.21 per day)
Joined:
31-January 12
Profile Views:
490
Last Active:
User is offline Apr 13 2012 01:12 PM
Currently:
Offline

Previous Fields

Dream Kudos:
0
Icon   meowbits has not set their status

Posts I've Made

  1. In Topic: Sql - How to use a query that may return zero records

    Posted 8 Apr 2012

    er

    I have it in a try catch block.


    *For anyone else wondering... I just shifted my for loop around and put a continue for inside the catch.
  2. In Topic: SQL query not filling table

    Posted 8 Apr 2012

    Well after determining that the query was correct I went through the code to find the data problem. Took a while (messy code, refine that once I get a working version) BUT I found it. Turns out I had set a line that was erasing one of the columns in my team_schedule. Making the query overlook all the rows...

    Got rid of the line, ran the program once and the query worked perfectly :)

    Thanks for the help, really appreciate it!
  3. In Topic: SQL query not filling table

    Posted 7 Apr 2012

    @Charlie - I never thought of that. Thanks for the great tip ;) I did as you said and it says zero rows affected.

    @Ionut - seasonId does have values of 0, and gameId has 1.

    Thanks for the suggestions
  4. In Topic: SQL query not filling table

    Posted 7 Apr 2012

    Yeah, the query loaded data into the table once before. Everything looked good. I deleted the data because I had too many rows in another table, tried it again and nothing happened.

    Pretty sure I did not change anything between.. though I must have, that or it didn't work properly to begin with.
  5. In Topic: Sql - default datetime format

    Posted 2 Apr 2012

    @modi I was just setting the default value as 20120101, have not actually used the table yet.

    @nkode Thanks, I had it backwards. Switched it around and it works perfectly :)

My Information

Member Title:
D.I.C Head
Age:
Age Unknown
Birthday:
Birthday Unknown
Gender:

Contact Information

E-mail:
Private

Friends

meowbits hasn't added any friends yet.

Comments

meowbits has no profile comments yet. Why not say hello?