Got some code to show?

-----Original Message-----
From: John Wilker [mailto:[EMAIL PROTECTED]
Sent: 08 December 2005 22:42
To: CF-Talk
Subject: Another SQL question. Stored Proc this time


I have a proc that does some selects. The first select is driven by a passed
in UserID. THe next is driven by a foriegn key found in the first select.

New hurdle in SPs for me. How do I get the FK I find in select 1 to select 2

I tried declaring a local @var, then setting it to that column, but it
doesn't know what that column is.

Thoughts.

J

--
John Wilker
Writer/Web Consultant
www.johnwilker.com / www.red-omega.com


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226632
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to