I am passing around 1000 of arguments to the function REPLACE
.
Example:
String contains some values:
Declare
str1 varchar = '1,2,3,4.................1000';
Now I want to replace the ,
with the ","
for which I am using the following
script:
SELECT REPLACE(str1,',','","');
But getting an error:
Error Detail:
cannot pass more than 100 arguments to a function