Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select statement syntax
Message
From
30/07/1999 18:08:44
 
 
To
29/07/1999 20:12:37
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Miscellaneous
Thread ID:
00248012
Message ID:
00248428
Views:
15
Jason,

Usually SQL is considered SET oriented instead of RECORD oriented. If you wanted to pull back the children for a specific parent, you'll specifically pass the parent's PK with the query against the child table. After SQL Server returns a result set to you, it has no idea what your doing with it.

SELECT * FROM child_table WHERE FK = FK_From_Parent

It's up to you to properly construct the query and submit it to the server.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Reply
Map
View

Click here to load this message in the networking platform