--Oracle
SELECT * FROM all_tables;
SELECT owner, table_name FROM all_tables;
SELECT owner, table_name FROM all_tables WHERE table_name = TABLE_NAME';
--SQL
SELECT * FROM sys.tables
SELECT NAME 'table_name' FROM sys.tables
SELECT NAME 'table_name' FROM sys.tables WHERE NAME ='TABLE_NAME'
No comments:
Post a Comment