I'm trying this in mapbasic:

        dim T as string
        T = "links_table"
        select * from T where T.data = 1


Which fails with an error message:
        unrecognized command.

It seams to be choking on the fact that T.date is really "string"."column" and not 
really "table name"."column"

Fortunately for me in this case i can achieve what i want in other means, but it seams 
to me to be a horrible limitation.

I tried:

select * from T as _table1 where _table1.data = 1

but that doesnt work either.

Is mapinfo's sql braindead or what!?

Know of any other ways to put table names contained in strings into queries?


----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to