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

concat dts variables

$
0
0

Hello,

i know its a rela noob Question, but i didnt find a solution:

Public Sub Main()
		'
		' Add your code here
        '
            Dts.Variables["user::sql"].Value = Dts.Variables["sqlVorlage"].Value & ToString,Dts.Variables["lastdate"].Value;
		Dts.TaskResult = ScriptResults.Success
	End Sub
gives 2 error messages:

Error 1 Property access must assign to the property or use its value

and

Error 2 Identifier expected.

What is wrong? I want to concat the two string values

greetings


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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