Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / February 2006



Tip: Looking for answers? Try searching our database.

Receiving a value from a stored proc

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
RSH - 28 Feb 2006 13:16 GMT
I have a situation where I would like to return a value from a stored
procedure in SQL server, how do I receive the value using ADO?

strSQL = "sp_rename_company '" & strNewCompanyName & "'"
cn.execute strSQL

Thanks!
Ron
Paul Clement - 28 Feb 2006 13:48 GMT
¤
¤ I have a situation where I would like to return a value from a stored
¤ procedure in SQL server, how do I receive the value using ADO?
¤
¤
¤ strSQL = "sp_rename_company '" & strNewCompanyName & "'"
¤ cn.execute strSQL

See if the following helps:

Make ADO Work Faster Using Output Parameters in Your Stored Procedures
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsqlpro01/html
/sql01b1.asp


Paul
~~~~
Microsoft MVP (Visual Basic)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.