Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select records if field in 2nd table is in a list of val
Message
 
 
To
23/07/2007 20:58:25
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01242994
Message ID:
01243054
Views:
28
Those spaces in the right arguments make me nervous. Are you sure they're all the right length?


>I'm stuck again. After the variables are evaluated, I get the code below. Just one of those days again. I test the code below and the error is a problem with the syntax near 'ON' - 'Incorrect6 syntax near the keyword 'ON'. ODBC Err#156
>
>
>SELECT * FROM table1 AS tw INNER JOIN
> (SELECT table2.inci_id FROM table2 AS Tbl1
> WHERE  table2.inci_id = '07000244      '
> or table2.inci_Id = '2007093878    '
> or table2.parent_id = '07000244      '
> or (LEN(table2.parent_id)>0 AND table2.parent_id = '2007093878    '))
> ON tw.inci_id = Tbl1.inci_id ORDER BY tw.inci_id, tw.vehnum
>
>I can't see it, can you?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform