|
WebLogic Server 7.0 Code Examples, BEA Systems, Inc. | |||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Object | +--examples.jdbc.mssqlserver4.ProcedureTests
This example shows how to create, call and remove a stored procedure from a Microsoft SQL Server. *
Note: You may need sa privileges in SQL Server to run this example. When you specify a user and password, make sure the user has sa privileges in the database.
If you need more help, check the section on connecting to a database in the programming guide, Using WebLogic jDriver for Microsoft SQL Server.
prompt> set CLASSPATH=%WL_HOME%/server/lib/mssqlserver4v65.jar;%CLASSPATH%
prompt> ant
Note: This script builds all of the examples in the mssqlserver4 directory.
prompt> ant run
Note: This script runs all of the examples in the mssqlserver4 directory.
| Constructor Summary | |
ProcedureTests()
|
|
| Method Summary | |
(package private) static void |
dumpResults(java.sql.Statement statement)
Skips through result sets and/or update counts. |
static void |
main(java.lang.String[] argv)
|
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ProcedureTests()
| Method Detail |
static void dumpResults(java.sql.Statement statement)
throws java.sql.SQLException
statement, - the executed statement.public static void main(java.lang.String[] argv)
|
Documentation is available at http://e-docs.bea.com/wls/docs70 |
|||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||