Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
WHERE field1 + field2 + field3 = myvalue
Message
 
 
À
14/08/2006 17:18:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01145445
Message ID:
01145467
Vues:
18
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform