    All Examples  This Package

# Class examples.jdbc.mssqlserver4.complexproc

    java.lang.Object
       |
       +----examples.jdbc.mssqlserver4.complexproc

public class complexproc
extends Object

This example shows the correct method of retrieving rows, update counts, procedure status, and/or output parameters from complex stored procedures that may have multiples of them.

### To set up this example:

1. Set up your development shell as described in Package examples.jdbc.mssqlserver4.

2. Change the database URL, login, and password connection parameters to correspond to your Microsoft SQL Server configuration. If you need more help, check the section on connecting to a database in the Developers Guide, Using WebLogic jDriver for Microsoft SQL Server.

3. Compile this example by executing the following command in your development shell:

   $ javac -d c:/weblogic/mssqlserver4/classes complexproc.java

4. Run this example by executing the following command in your development shell:

   $ java examples.jdbc.mssqlserver4.complexproc

##

complexproc()

##

main(String[])

##

complexproc

     public complexproc()

##

main

     public static void main(String argv[]) throws Exception

    All Examples  This Package