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

incorrect syntax near '@p1'

$
0
0

Hi,

I have a sp in execute SQL task,where it is updating one table based on the input values(most of them are boolean).There are total 9 input parameters,out of those 8 are boolean.But in parameter mapping since boolean is not present,I have given as 'LONG' .The sp is executing fine in SQL server.When I am running through BIDS,getting below error.Please help me on this .

[Execute SQL Task] Error: Executing the query "exec usp_UpdateFile ?,?,?,?,?,?,?,?,?" failed with the following error: "Incorrect syntax near'@P1'.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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