Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Procedures and ResultSets

Status
Not open for further replies.

FernandoSilva

Programmer
Jan 4, 2002
1
FR
Hello!

I have a store procedure that works fine in MS SQL Query Analyser (returning results)... but when I try to run it on my java aplication I get:

"[Merant][SQLServer JDBC Driver]No Resultset set was produced"

I have tried CallableStatments and normal Statements, both with the same result.

I would like any help.

Thanks in advance.

Regards,
Fernando Silva
 
Some code would help as would the prepared statement. Also, it's possible that your JDBC driver doesn't support CallableStatements correctly. I'd check with the vendor.

FWIW, you need to use a CallableStatement to invoke stored procedures.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top