In Oracle SQL, is it possible to replace the commas which separate function arguments with chr(44)? A simple example using substr():
substr('aaaa', 1, 1) -- this returns 'a'
vs
substr('aaaa' chr(44) 1 chr(44) 1) -- this should also return 'a'
Is there a way to make the second example work the same as the first? I've tried various escaping techniques, string concat, etc., and I haven't been successful. Is there a method for replacing the comma (',') character in the way I'm attempting or is this impossible?
Thanks