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

SSIS Expression Builder - how to use OR clause

$
0
0

Hi guys,

Basically what i would like to get is that -

records where ClientUno is greater than variable value of Client_max_UnoOR records where IndustryUno is greater than variable value of Industry_max_Uno.

I have a SSIS variable named History and inside that i am passing the following statement :

"select [ClientUno],[IndustryUno],[Datetime],[Type],[Value],[Description] from [dbo].[HistoryTable] where [ClientUno] > "+ @[User::Client_Max_Uno]+" || [IndustryUno] > " +@[User::Industry_Max_Uno]+""

When i do the above, I am getting the following error:

Any ideas how to fix the above ?

Thanks,

grk....


Viewing all articles
Browse latest Browse all 24688

Trending Articles



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