Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
*Close* query results?
Message
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00249415
Message ID:
00249421
Views:
19
Mark,

You want to use the LIKE operator:

SELECT * FROM customer WHERE name LIKE ?cName

When you assign a value for cName, append a % to the value

cName = ALLTRIM(cName) + '%'

SQL Server will match everything that begins with whatever has been specified in cName.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform