Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I pass a text column as a parameter to another stored procedure

Status
Not open for further replies.

thinkrajesh

Programmer
Jul 12, 2002
8
0
0
IN
Hi,

I have a stored procedure which accepts a text datatype as a parameter..

I need to call this stored procedure from within another stored procedure..

How do I pass a text datatype as parameter?

Regards,
Rajesh Pillai
 
Rajesh,

something like:


EXEC procProcedure @parameter= 'text'


Where the following is the procedure that will be called:

CREATE PROCEDURE procProcedure

@parameter varchar(10)

AS
....

"In three words I can sum up everything I've learned about life: it goes on."
- Robert Frost 1874-1963
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top