An Azure service for ingesting, preparing, and transforming data at scale.
Hello @arkiboys ,
I think you can achieve the same result by using a UNION ALL clause . I am sharing the dynamic expression below and I think it should help .
@markus.bohland@hotmail.de ('select * from edp.LoadTables where SchemaName =''',pipeline().parameters.pSchemaName,'''',
' and SourceSystem = ','''',pipeline().parameters.pSourceSystem,'''',' AND ', pipeline().parameters.pEntityName,' is null' , ' UNION ALL ', 'select * from edp.LoadTables where SchemaName =''',pipeline().parameters.pSchemaName,'''',
' and SourceSystem = ','''',pipeline().parameters.pSourceSystem,'''',' AND ENTITYName =', '''',pipeline().parameters.pEntityName,''''
)
Let me know how it goes .
Thanks
Himanshu