Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parameterized View Question
Message
 
 
To
07/12/1999 19:59:20
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00300119
Message ID:
00300393
Views:
25
Quick point.....

The preferred method with SQL is to use the wildcard charcter of '%' to find all records, or records that begin with a specified string of characters. Also, the Like operator, as opposed to the = operator, provides much more flexbility and is more in line with the SQL world at large. The "" (space(0)) stuff is more of an xBase/Fox thing, not something that applies to the SQL world at large. Finally, using the latter methods, you don't need to worry about the setting of ANSI.


>If the parameter is character (i guess it's the case by name convention) then ou may keep SET ANSI OFF (it's default) and set lcCategory='' (SPACE(0)). This case SELECT-SQL (view) will pick-up all records.
Previous
Reply
Map
View

Click here to load this message in the networking platform