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

Stored Procedure Return Parameter

Status
Not open for further replies.

testeng

Technical User
Apr 5, 2001
32
US
I am trying to return the @@Identity field from a stored procedure after a row is inserted but I keep getting an error that it can not convert it to a integer error. I have returned parameters before but always an integer value what is the trick to returning a string?

Thanks is advance
 
Did you get the error using CAST or CONVERT functions?

Show us the line from your sp.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top