But not what it returns.
The following in an SP will potentially return two or three result sets
which means your proc result tags can be askew.
SELECT * FROM Table1
IF @param = 1
SELECT * FROM Table2
SELECT * FROM Table3
Adrian
-----Original Message-----
From: Tom Chiverton [mailto:[EMAIL PROTECTED]
Sent: 22 May 2006 11:48
To: CF-Talk
Subject: Re: How to get several resultsets from SP
On Friday 19 May 2006 18:00, Adrian Lynch wrote:
> Conditional logic might change the number.
But the definition of a SP is fixed.
--
Tom Chiverton
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241116
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