Simple question - compare Strings with SSIS expression language

  • SSIS variables - strOne = YES, strTwo = YES. I want to compare strings using ssis expression language (ie inside a variable's expression box, constraint of task flow arrow etc).

    Will @strOne == @strTwo be true ? I hope its not like programming languages where you need to do @strOne.Equals(@strTwo) instead of ==. Also is @strOne == "YES" true ?

  • Yes, you should be able to do == .

  • you can compare the variables like this

    @String==@String2

    Thank you

    Aamir

    http://sqlage.blogspot.com/

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply