I need to know the names of tables from which a SQL select query pulls in data. For eg. if the query is
select * from bills inner join customers on bills.cust_id=customers.cust_id
i will pass the SQL string as an argument to the function and it should return a string "bills;customers" which i can then split to get the names of the tables.
Thanks in advance.
select * from bills inner join customers on bills.cust_id=customers.cust_id
i will pass the SQL string as an argument to the function and it should return a string "bills;customers" which i can then split to get the names of the tables.
Thanks in advance.