System Variable to user variable in ScriptTak
Hi, How to assign system variable to user variable using script task. I used following code but it failed. Dts.Variables["User::dater"].Value = Dts.Variables["System::StartTime"].Value.ToString(); Read variable selected startime, and write variable daterNavin.D http://dnavin.wordpress.com
May 30th, 2012 10:19pm

Working fine :) Dts.Variables["User::dater"].Value = Dts.Variables["System::StartTime"].Value.ToString();Navin.D http://dnavin.wordpress.com
Free Windows Admin Tool Kit Click here and download it now
May 30th, 2012 10:24pm

why not just put an expression on User::dater that sets it to the value of System::StartTime? in fact, why even bother doing this at all if System::StartTime contains the value that you need?ObjectStorageHelper<T> A WinRT utility for Windows 8 | http://sqlblog.com/blogs/jamie_thomson/ | @jamiet | About me
May 31st, 2012 2:17am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics