File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and Relational Databases and the fly likes Calling a stored procedure for MSSQL 2000? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Calling a stored procedure for MSSQL 2000?" Watch "Calling a stored procedure for MSSQL 2000?" New topic
Author

Calling a stored procedure for MSSQL 2000?

M Burke
Ranch Hand

Joined: Jun 25, 2004
Posts: 391
I have a select statement in a stored procedure that returns all the columns from a table.
I have done it before with Oracle using Oracle cursers. But I am not sure how to set the type for JDBC's CallableStatement.registerOutParameter() while using MS SQL Server. Any ideas?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Calling a stored procedure for MSSQL 2000?
 
It's not a secret anymore!