Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Passthrough
Message
De
17/10/2003 10:33:55
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
17/10/2003 10:28:12
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
00839751
Message ID:
00839755
Vues:
15
>How can I get this Select statement to work with SPT? I think the syntax needs to be adjusted, but how?
>
>"Select fname, lname, usrid1 From usrtbl Where EXITS (Select * From engschtable Where usrtbl.usrid1 = engschtable.usrid)"

Steve,
It looks OK. However a faster one would be :

"Select fname, lname, usrid1 From usrtbl Where usrid1 in (Select usrid From engschtable)"

or :

lcSQL = "Select u.fname, u.lname, u.usrid1"+;
" From usrtbl u "+;
" inner join engschtable e on u.usrid1 = e.usrid"

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform