Penhall
Perch
This is something that's been bothering me for awhile and I figured I'd get off my butt and ask if anyone can shed some light.
When I'm doing a SELECT * from TABLE statement (on MS SQL at JH using ASP) sometimes fields won't return their value when I do an rs("FIELDNAME") - what I end up doing usually is adding the field name directly to the the SELECT query... eg Select *, MissingField from TABLE
This works sometimes but other times it doesn't unless I juggle the order of the field names in the query when there are multiple gremlin FIELDS.
Has anyone run across this before and is there any advise around this issue that you would share. Suppose I should select each field individually in table-order but I would have thought SQL/ASP would have been smarter than this.
Anyway, I'm an admitted self-taught web DB hack who is trying to properly edjumukate myself so any thoughts/insites would be appreciated.
Cheers
When I'm doing a SELECT * from TABLE statement (on MS SQL at JH using ASP) sometimes fields won't return their value when I do an rs("FIELDNAME") - what I end up doing usually is adding the field name directly to the the SELECT query... eg Select *, MissingField from TABLE
This works sometimes but other times it doesn't unless I juggle the order of the field names in the query when there are multiple gremlin FIELDS.
Has anyone run across this before and is there any advise around this issue that you would share. Suppose I should select each field individually in table-order but I would have thought SQL/ASP would have been smarter than this.
Anyway, I'm an admitted self-taught web DB hack who is trying to properly edjumukate myself so any thoughts/insites would be appreciated.
Cheers