I am calling a SQL Stored Procedure, which has 10 parameters.
The SP has defaults set on the last 9 of these params.
The 1st one is an output param.
I want to get the result for the output param. I am able to do this without a problem.
I only need to pass in 2 values. The 4th and the 7th parameter. The rest I want to use the defaults defined in the stored procedure.
I can do this in SQL analyzer and in vb 6.0.
How can I do this in Java, using JDBC driver - default for SQL 2005.
Any help is appreciated.