Quantcast
Channel: SQL Server Integration Services forum
Viewing all articles
Browse latest Browse all 24688

Error on Stored Procedure in ADO.NET

$
0
0

When run the stored procedure, it prompt the errors "invalid SQL statement"

The stored procedure run under ADO.NET and I have create the Expression with parameters.

Error Message:

[Execute SQL Task] Error: Executing the query "eqm_bom_pkg.get_bom_timestamps123,abc,2013-06-05 1..." failed with the following error: "ERROR [42000] [Oracle][ODBC][Ora]ORA-00900: invalid SQL statement
". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Expression:

"eqm_bom_pkg.get_bom_timestamps" +@[User::testcon]+","+@[User::fccode]+","+(DT_WSTR,30)@[User::test_date]+","+ @[User::test_var]

Original SQL:

DECLARE
c1 varchar2(19);
BEGIN
eqm_bom_pkg.get_bom_timestamps('OOLU846349','LAS04','2010-02-13 15:32:00', c1);
dbms_output.put_line(c1);
END;


wailun3


Viewing all articles
Browse latest Browse all 24688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>