Execute SQL Statement not accepting like operator with % wildcards on beginning and end of search string
It gives the complaint that the variable does not exist most likely due to that also being the variable notation in PAD.
Below query results in variable does not exist error:
SELECT PersonnelNumber, EmployeeNameFROM Table_Name where UserID like '%user_12345%';
Variable 'user_12345' doesn't exist.
PAD version: 2.6
Thanks for your post! We will start looking into this and hopefully we can find a work around for this. This looks to be an issue with how Graph is processing double "%".
Community Support Team _ Alex RezacIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Using double % works well in my statements:
SELECT PersonnelNumber, EmployeeNameFROM Table_Name where UserID like '%%user_12345%%'
Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.
Check out the new Power Platform Community Connections gallery!