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

How to insert data in table using variable in Execute SQL Task

$
0
0

Hello Everyone,

I am using Execute SQl task inside for each loop

i am using this query

Insert into student(Name)

values('?')

and than map with Parameter mapping for the varibale comming from for each loop

but it giving me error Kindly suggest the solution how to insert data comming from variable

insert into student(Name)

values(?)" failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.

Task failed: Execute SQL Task


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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