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!

Executing a stored proceedure from VB6

Status
Not open for further replies.

DebbieCoates

Programmer
Oct 2, 2007
23
0
0
GB
if i have already set a connection up to my server
can i then use this in vb to execute a stored proceedure

dim str as string

str = cnn.Execute sp_GetPCON 'input parameter'

so that str will now contain the output parameter of my stored proceedure, or do i have to set up a command object?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top