Currently I have in my pl/sql code following statements:
-- vList looks like \'1,2,3,4\' vStatement := \'SELECT NAME FROM T_USER WHERE ID IN ( \' || vList |
It's not just that concatenation is slow. It's that dynamic queries in plsql are REALLY slow. Here's a good writeup of both the how and why to do this:
Ask Tom: How can I do a variable "in list"