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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Returning a varchar from my proc

Status
Not open for further replies.

Kudel

Programmer
Dec 3, 2002
36
0
0
NO
I’m trying to return a string from my procedure, but all I get is this message
“Syntax error converting the varchar value my string to a column of data type int.”

Can’t procedures return varchar?

-Kudel
 
The argument to the return statement must be an integer expression.

To return varchar, use an output parameter or a result set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top