Click here to Skip to main content
15,892,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How return a output parameter of type varchar from a sql server stored procedure?
Posted
Comments
[no name] 19-Sep-12 9:33am    
Just like any other data type.

1 solution

'Just like any other data type.' as mentioned in Wes comments

SQL
CREATE PROCEDURE [dbo].[MySP]
	-- Set Required Parameters
	@param1 int,
	@param2 varchar(100) out
AS
BEGIN
     -- Your code here
END
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900