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:
01145466
Views:
27
>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
>
>?

Does each field in SQL Server have predefined length? If yes, can you pad each value with exact number of spaces?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform