Forum Discussion
Anonymous
2 years agoNot applicable
How to concat sql query with pipeline parameter?
@concat("SELECT * FROM [dbo].[MyTable] where SourceSystem ='NAV' and NAV_Mandant='W020' and Entry_No_>",activity('LastRecW020NAV').output) I'm using a german system. Because the where filter also...
- Anonymous2 years ago
Hi Anonymous ,
One alternative approach is to use double single quotes to escape the single quotes within your string.
Here is the changed codes that you can have a try.
@concat("SELECT * FROM [dbo].[MyTable] where SourceSystem =''NAV'' and NAV_Mandant=''W020'' and Entry_No_>", activity('LastRecW020NAV').output)Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
2 years agoNot applicable
Hi Anonymous ,
One alternative approach is to use double single quotes to escape the single quotes within your string.
Here is the changed codes that you can have a try.
@concat("SELECT * FROM [dbo].[MyTable] where SourceSystem =''NAV'' and NAV_Mandant=''W020'' and Entry_No_>", activity('LastRecW020NAV').output)
Best Regards
Yilong Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous2 years agoNot applicable
Many thanks that works!!! ''text'' double single quotes.