All Examples This Package
Class examples.jdbc.mssqlserver4.ProcedureTests
java.lang.Object
|
+----examples.jdbc.mssqlserver4.ProcedureTests
- public class ProcedureTests
- extends Object
This example shows how to create, call and remove a stored
procedure from a Microsoft SQL Server.
To set up this example:
- Set up your development shell as described in Package examples.jdbc.mssqlserver4.
- Change the database URL, login, and password connection
parameters to correspond to your Microsoft SQL Server
configuration. The example creates a stored procedure, so make sure
your account has privileges to do that. If you need more help, check
the section on connecting to a database in the Developers Guide, Using
WebLogic jDriver for Microsoft SQL Server.
- Compile this example by executing the following command in your development shell:
$ javac -d c:/weblogic/mssqlserver4/classes ProcedureTests.java
- Run this example by executing the following command in your development shell:
$ java examples.jdbc.mssqlserver4.ProcedureTests
-
ProcedureTests()
-
-
main(String[])
-
ProcedureTests
public ProcedureTests()
main
public static void main(String args[])
All Examples This Package