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

pass string with double quote in SSIS user variable from DTEXEC

$
0
0

Hi Guys,

I need to pass a param (that contains double quote in string)  to a user variable in SSIS. and I'm trying to do this from command prompt.

what I'm trying is to pass: Name.StartsWith("MGGS") and Name.EndsWith("tar.gz")

I tried as below [with no luck of course :(]

/SET "\Package.Variables[User::FileNameLogic].Properties[Value]";"Name.StartsWith(\"MGGS\") and Name.EndsWith(\"tar.gz\")"

It seems when I'm just using as below, that is working though: 

/SET "\Package.Variables[User::FileNameLogic].Properties[Value]";"Name.StartsWith(\"MGGS\")" 

Any suggestion please?


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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