How to execute the following query without using tempselect * from temp;

Showing Answers 1 - 2 of 2 Answers

hs_kashyap

  • Apr 25th, 2006
 

SELECT * FROM (SELECT TABLENAME FROM USER_TABLES WHERE TABLENAME LIKE 'TEM_')

Please make check the column name is TABLENAME or TABLE_NAME.

  Was this answer useful?  Yes

SELECT * FROM (SELECT TABLE_NAME FROM USER_TABLES WHERE TABLE_NAME LIKE 'TEST');

Above query will give the result as

TEST.

If you dont want to use the table name directly in the query, you can create synonym for that table and can use that synonym in your query.

-Vamsee

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions