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

Reading INT Column value and inserting to another table with same INT destination column

$
0
0

Hi , I am trying to read Column(int)1 of a table1 from Db1 and trying to insert into Column1(int) of table1 of DB2. For this purpose , I Have two execute sql task once queries the column value and put stores that value in LONG_INTEGER user variable. In the second sql task I am using that variable to insert into second table.

Issue: Its always 0 in destination table. I believe something to do with datatype mismatch where my column is INT and I am storing in Long_Integer but I don't see Integer option .

Any inputs?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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