Quantcast
Channel: Teradata Forums - Database
Viewing all articles
Browse latest Browse all 14773

Search for first substring in string with condition - response (6) by ulrich

$
0
0

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...


Viewing all articles
Browse latest Browse all 14773

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>