Quick Search:
 
 Oracle PL/SQL: TABLE:  queries Jump to:  
Category: >> Oracle PL/SQL >> TABLE:  queries  

<< lastnext >>

Snippet Name: TABLE:  queries

Description: Some useful queries for table information.

Also see:
» TABLESPACE: Show contiguous space
» TABLESPACE: SYSAUX tablespace
» TABLESPACE: Tablespace management
» TABLESPACE: List tablespaces, files, ...
» TABLESPACE: Dropping Tablespaces
» TABLESPACE: Alter Permanent Tablespace
» TABLESPACE: Transportable tablespaces
» TABLESPACE: Tempfile operations
» TABLESPACE: Create temp tablespace
» TABLESPACE: Change UNDO tablespace
» TABLESPACE: Undo Tablespace
» TABLESPACE: SYSAUX Tablespace
» TABLESPACE: Set default tablespace type
» TABLESPACE: Oracle Managed Auto-extend...
» TABLESPACE: Permanent Tablespace Using...
» TABLE: Constraints
» TABLE: Options
» TABLE: Using Select Statement With Data
» TABLE:  Multiple Columns
» TABLE: simple heap table
» TABLESPACE: Using Raw Devices
» TABLESPACE: permanent tablespace

Comment: (none)

Language: PL/SQL
Highlight Mode: PLSQL
Last Modified: March 11th, 2009

SELECT owner, column_id, column_name
FROM user_tab_cols
WHERE table_name = 'test1'
ORDER BY column_id;
 
 
SELECT *
FROM user_tables;
 
SELECT *
FROM dba_tables;
 
SELECT table_name, tablespace_name
FROM all_tables;
 
 


 
   Home |    Search |    Code Library |    Sponsors |    Privacy |    Terms of Use |    Contact Us © 2003 - 2024 psoug.org