Home
|
Contact Us
|
FAQ
|
Search & Site Map
|
Link to Us
Sign In
|
Join
|
Other 45 Sites in Network
Home
Discussion Groups
VB Syntax
Enterprise Development
Database Access
Controls
COM
Win API
Crystal Report
Deployment
General
General 2
Related Topics
VB.NET / ASP.NET
MS SQL Server
MS Access
Other Database Products
More Topics ...
VB Forum
/
General 2
/
April 2004
Tip:
Looking for answers? Try searching our database.
running a DB2 Stored Procedure from a VB 6 Program
Thread view:
Tree View
List View (postings sorted by date)
Single Message View
Enable EMail Alerts
Start New Thread
Thread rating:
Ken Vandergriff
- 23 Apr 2004 13:09 GMT
Does anyone have some example code that will execute a DB2 Stored
Procedure that has one input parameter (long) and returns a rowset?
Thank you
<kenneth.vandergriff@cigna.com>
<ken@cdc.net>
Reply to this Message
George Copeland
- 29 Apr 2004 23:11 GMT
> Does anyone have some example code that will execute a DB2 Stored
> Procedure that has one input parameter (long) and returns a rowset?
I assume you are using ADO.
Cmd1.ActiveConnection = Conn1
Cmd1.CommandText = "sp_AdoTest"
Cmd1.CommandType = adCmdStoredProc
Cmd1.Parameters.Refresh
Cmd1.Parameters(1).Value = 10
Set Rs1 = Cmd1.Execute()
Reply to this Message
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.