Hello Everyone,
I can't get this custom query to work and I'm calling for help. I believe it's an issue with WF adding quotes to my parameter. I have tried almost every datatype I can it just keeps giving me an error. It's a really simple query that is a workaround I found to try and import more than 1000 records to a file.
Here is my query in WF.
INSERT INTO SaleNameNumber(division, saleNumber,saleName) @D
it is a direct connection to a Azure DB and it works if I use hard-coded values that I'm trying to pass. For example, this works.
INSERT INTO SaleNameNumber(division, saleNumber,saleName) SELECT 1,1154,'DM DF I' UNION ALL SELECT 1,1155,'GM WF I' UNION ALL SELECT 1,1157,'GM DF I' UNION ALL SELECT 1,1158,'DM WF I' UNION ALL SELECT 1,1159,'DM PP I' UNION ALL SELECT 1,1161,'GM SP I'
My parameter is a multivalue token I'm building that I use an index on with separating the values with a space.
Even if I pass it only 1 value, I keep getting this.
To me, it looks like WF is adding the ' on the outside of my token which is changing what I want to run. Anyone have any ideas on how to get my parameter in there without the quotes?