How To Show User Tables In Oracle Database Tutorial Example
Run MS-DOS command prompt then copy & paste the below code to show user tables in Oracle Database Server as HR Tutorial Example
-- connect as HR -- i am using sqlplus as client. you can use anything as you like.
SET LINE 30 SELECT TABLE_NAME FROM TABS; -- OR -- SELECT TABLE_NAME FROM USER_TABLES; -- OR -- SELECT OBJECT_NAME FROM USER_OBJECTS WHERE OBJECT_TYPE='TABLE'; -- OR -- SELECT TNAME FROM TAB WHERE TABTYPE='TABLE';
-- is comment in Oracle
-- in fact it is comment in MSSQL and MySQL as well
How To Show User Tables In Oracle Database Tutorial Example - Result in MS-DOS SQLPLUS Client Tools
Related Tutorial Examples
- How To Create USER In Oracle Database Tutorial Example
- How To Drop USER In Oracle Database Tutorial Example
- How To GRANT a USER In Oracle Database Tutorial Example
- How To REVOKE ROLE from a USER In Oracle Database Tutorial Example
- How To Disconnect From Oracle Database Tutorial Example
- MySQL NULLIF() Function Number Value Example
- How to Find MySQL Stored Procedure or Function Information
- MySQL Sub-Query: INSERT INTO SELECT... Example
- 19 Examples to Learn MySQL
- 20 Steps to Learn CakePHP by Example

No comments:
Post a Comment
leave your comments here..