Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC Help
Message
 
 
To
15/11/2000 15:40:22
Steve Summers
Pima County Superior Court
Tucson, Arizona, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00442302
Message ID:
00442318
Views:
11
>I'm tiring to do the equivalent of this through odbc:
>Select * from customers where lastname = "L"
>In vfp this returns all the customers that have a last name starting with "L".
>Through ODBC this return 0 records.
>
>Next I tried to use the SQL "IN" syntax:
>Select * from customers where lastname IN ("L")
>Again in vfp this returns all the customers that have a last name starting with "L" but through ODBC I get 0 records.
>
>Has anyone ever overcome this seemingly simple problem?


Use LIKE operator
Select * from customers where lastname LIKE 'L%'
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform