Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Oracle Column Names of a table

DESCRIBE Table_Name;

OR 

DESC Table_Name;
Comment

oracle tables with column name

SELECT * FROM USER_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN'; -- Connected user
SELECT * FROM ALL_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN';	-- Other schemas
SELECT * FROM DBA_TAB_COLUMNS WHERE COLUMN_NAME = 'MY_COLUMN';	-- All tables
Comment

SQL column name Oracle

SELECT table_name, column_name, data_type, data_length
FROM USER_TAB_COLUMNS
WHERE table_name = 'MYTABLE'
Comment

PREVIOUS NEXT
Code Example
Sql :: postgres data location 
Sql :: sql server create database 
Sql :: exec procedure pl sql 
Sql :: run function in sql 
Sql :: reset keys in sql 
Sql :: eliminar ultimo carcacter mysql 
Sql :: union vs intersect sql 
Sql :: sql server check whether column has same equal values 
Sql :: how to truncate foreign key constraint table 
Sql :: sql server default port 
Sql :: sql String comparisons case sensitive 
Sql :: postgres get number of days between two dates 
Sql :: mysql if statement 
Sql :: mysql run script 
Sql :: pgadmin see indexes 
Sql :: Expression number 1 of select list is not in group by clause 
Sql :: soql user profile 
Sql :: SQL Error [42501]: ERROR: permission denied for table 
Sql :: linux bash run sql command 
Sql :: call function in query sql server 
Sql :: symfony Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails 
Sql :: delete table in mysql 
Sql :: how to find top 3 salary in sql 
Sql :: 1422: Explicit or implicit commit is not allowed in stored function or trigger 
Sql :: sql arithmetic operators 
Sql :: import database mysql command line 
Sql :: arithmetic operators in sql 
Sql :: control files oracle 
Sql :: sql describe 
Sql :: unique key in sql 
ADD CONTENT
Topic
Content
Source link
Name
9+5 =