Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Passthrough
Message
From
17/10/2003 10:33:55
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
17/10/2003 10:28:12
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00839751
Message ID:
00839755
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform