Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WHERE field1 + field2 + field3 = myvalue
Message
 
 
To
14/08/2006 17:18:44
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01145445
Message ID:
01145467
Views:
19
Sure you can but it'll not be optimizable. Also if columns are varchar you may not even need to trim them.

>SQLSERVER 2000 or 2005.
>
>Is it possible to do something like:
>
>
>
>mvalue = '100'+'SO'+'MAIN'+'ST'
>SELECT * FROM mysqltable 
where alltrim(number)+alltrim(st_prefix)+alltrim(street)+alltrim(st_suffix) = myvalue
>
>?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform