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

How to get the name of a table from an Insert, Update or Delete SQL without parsing - forum topic by mszumowski

$
0
0

Hello TD experts,
Is there a way to obtain the table used in a JDBC Insert, Update or Delete SQL without parsing out the table name from the actual SQL itself?
The best approach I have found (very undesirable) is to prepend EXPLAIN to the sql and parse out the table name that way. Is there a better way to do this in teradata?
Is it possible to execute a SQL and determine which table the SQL actually affected?
Thanks ahead of time!

Forums: 

Viewing all articles
Browse latest Browse all 14773

Trending Articles



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