January 22, 2007 at 11:04 am
there's a few things you should check:
first off, does "select *from table " return any rows? here we determine that data exists.
second, could it be that the db is case sensitive? so " where saletype = 'ANA' " cant find 'ana'
third, check for null values and see what happens?
"select *from table where saletype is not null AND saletype = 'ANA' "
hopefully some of these ideas might help you get started on finding out why you don't get the expected data.
Lowell
January 22, 2007 at 7:14 pm
Thanks for that Lowell, it did steer me in the right direction when you started talking about nulls.
I tried a like 'ANA%' instead of an equal and it returned data as the SQL Anywhere was padding the values with blanks.
Am trying a few SQL Anywhere database create options now to get round this.
Cheers!
Viewing 2 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply