SSIS Expression -


 select cast(count(1) varchar(30)) sourcerowcount   table   countryid= '" +@[user::id] +"'"+ " "+"  , locationid ="'+@[user::id1]+'" 

expected output

 select cast(count(1) varchar(30)) sourcerowcount   table   countryid= 1   , locationid =2 

use execute sql task step in control flow execute query, passing 2 variable values in parameters, , return value variable, https://www.simple-talk.com/sql/ssis/ssis-basics-using-the-execute-sql-task-to-generate-result-sets/ .


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -