Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using 2 fields in SQL Sub-Query Problem
Message
 
 
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
OS:
Windows 2000 SP4
Database:
MS SQL Server
Divers
Thread ID:
01044768
Message ID:
01044770
Vues:
13
>What is the correct to concatenate 2 character fields in a sub-query for SQL Server? I have tried the plus sign, a comma and the double-pipes (Oracle equivalent). TIA!
>SELECT * FROM SQLTable WHERE
>   CField1, cField2 IN
>   (select CField1, cField2 from SQLTable2
>    WHERE...)
Nevermind. The plus sign is what works. The actual problem was I could not distinguish between a lower case "L" and the letter "I" in a field name in the Enterprise Manager Table properties sheet. Small non-adjustable fonts are hell when one gets "older".
Mark McCasland
Midlothian, TX USA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform