How To Call SQL Stored Procedures from Visual Basic (146651)
The information in this article applies to:
- Microsoft Visual Basic Professional Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Professional Edition, 32-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 16-bit, for Windows 4.0
- Microsoft Visual Basic Enterprise Edition, 32-bit, for Windows 4.0
This article was previously published under Q146651 SUMMARY
This article describes how to call Microsoft SQL stored procedures from
Microsoft Visual Basic for Windows. A stored procedure is a precompiled
collection of SQL statements, often including control-of-flow language.
REFERENCES
More information about calling stored procedures is documented in the
following Microsoft SQL manual which covers the Visual Basic Library for
SQL Server:
- "Microsoft SQL Server Programmer's Reference for Visual Basic"
See the functions SqlRpcInit% (pages 200-201), SqlRpcParam%, and
SqlRpcSend%. These functions call stored procedures more quickly than do
the methods described above.
Modification Type: | Minor | Last Reviewed: | 6/29/2004 |
---|
Keywords: | kbhowto KB146651 |
---|
|