nithyanand11 Posted January 4, 2011 Share Posted January 4, 2011 How to call MSSQL stored procedure with input in IReport.Am using following query to call..CALL MY_PROC($P{INPUT1}, $P{INPUT2}, $P{INPUT3});but its returning this errorcom.microsoft.sqlserver.jdbc.SQLServerException: Incorrect syntax near '@P0'.Please help... Thanks in Advance-NithinPost Edited by nithyanand11 at 01/05/2011 09:02 Link to comment Share on other sites More sharing options...
siddarth.k Posted May 27, 2013 Share Posted May 27, 2013 Calling MSSQL stored procedure in IReport: 1)Select the language as plsql instead of sql in IReport 2)use the syntax mentioned below MY_PROC $P{INPUT1}, $P{INPUT2}, $P{INPUT3}; Hope it will work for you. -Siddharth Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now