Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrive data from Sql table based on resulted Cursor
Message
 
To
22/11/2005 05:48:16
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01071100
Message ID:
01071101
Views:
20
Join Cur1 and T2 in second SELECT. If you post whole select it is much easier.

>Dear Experts,
>
> I have a Cursor populated from the table based on certain query coditions,
>Now, i want to retrieve data from another table base on some matching coditions
>with some fields from the current cursor.
>Ie,
>
> Vfp Command is like
>
> Select F1,F2 From table (T1) Where (Some conditons) in to cursor Cur1
>
> Select Cur1.F2, T2.F3, T2.F4 From table (T2) Where Cur1.F1 = (Some conditions)
> Into Cursor Cur2
>
> Sele Cur2
> Brow
>
> How i will do it with Sql Server command.
>
> Thanks in advance
>
> With thanks and regards
> Abdulla
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform