I agree with Dieter. But I also don't think this will work within the DB - at least not for the big SQL's which spann multiple lines in qrylogSQL.
I use a java programm to do this which parses the SQL from left to right and checks what it find first (e.g. ',/*,--) and then checks for the corrosponding closing part (',*/.\n).
Easy and efficient...
I agree with Dieter. But I also don't think this will work within the DB - at least not for the big SQL's which spann multiple lines in qrylogSQL.
I use a java programm to do this which parses the SQL from left to right and checks what it find first (e.g. ',/*,--) and then checks for the corrosponding closing part (',*/.\n).
Easy and efficient...