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

SSIS Ole DB Destination Dynamic Fail

$
0
0

Hi, 

I have a dataflow with Ole source and ole destination task. in the Ole Source I have the Data access mode "SQL command from variable" and I have the rset variable whith the select sentence : "Select * from [LES]."+ @[User::Tablename2]

I obtain the Tablename2 variable in a loop. In the Ole destination I have the data access mode "table name or view name variable" and then I have another variable called:tname dest with the value: "[dbo]."+@[User::Tablename2].

As I said, tablename 2 is the name of the table that I obtained in the loop. my problem is the error in the Ole db destination: 

Description: Table/view either does not exist or contains errors

Error at DataflowTask: "[dbo]."".check that the object exist in the data base.

does anybody know why?




Viewing all articles
Browse latest Browse all 24688

Trending Articles



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