Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Clear a ref_cursor in oracle
Message
From
03/05/2004 20:33:58
John Baird
Coatesville, Pennsylvania, United States
 
 
To
03/05/2004 16:55:49
General information
Forum:
ASP.NET
Category:
ADO.NET
Miscellaneous
Thread ID:
00900481
Message ID:
00900563
Views:
20
You are simply returning 1 value instead of a table full of values. Assign the result to a variable of type int. In SQL Server I would do something like the following:
DECLARE @retVal int;

select Set @retVal = agent_id 
     from agent ag
     where site = strSite and
          upper(trim(ag.lname)) = strLastName and
	  upper(trim(ag.fname)) = strFirstName;

return @retVal
Previous
Reply
Map
View

Click here to load this message in the networking platform