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

How to pass variables to DFT SQL statement

$
0
0

Hi Forum,

I have a task to pass a datevalue as a variable to a SQL Query, For a Simple SQL statement like 

select * from table_name where col=?  my parameter mapping works and im able to assign a variable but when my query got 

select * from tablename 

join x ,join y,join z, where col=? i get a error 

Parameters cannot be extracted from the SQL command. The provider might not help to parse parameter information from the command. In that case, use the "SQL command from variable" access mode, in which the entire SQL command is stored in a variable. (Microsoft Visual Studio)

Is there a work around for this issue. 

thanks in advance


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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