Question
Vodafone UK Ltd
GB
Last activity: 26 Apr 2020 12:41 EDT
Need to convert sting to a array
Hi Guys,
I have a situation where I need to pass in a list of values to an Connect SQL rule so that I can delete multiple values in a table depending on the ID. I have got the values that I want to delete however these values are integers in the table so when I try to pass in a comma separated parameter the Connect SQL fails. Does anybody know how I can pass a list of values in. Below is my SQL that I'm trying to pass in as well as the values.
DELETE FROM TableName WHERE LATE_REPAIR_ID IN ({Value})
Value = 61,81,61
Thanks
***Edited by Moderator Marissa to update Pega Academy to General***