Exporting SQL Server data to SQL Anywhere

  • 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


    --help us help you! If you post a question, make sure you include a CREATE TABLE... statement and INSERT INTO... statement into that table to give the volunteers here representative data. with your description of the problem, we can provide a tested, verifiable solution to your question! asking the question the right way gets you a tested answer the fastest way possible!

  • 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