Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle columns table

SELECT * FROM USER_TAB_COLS WHERE TABLE_NAME = 'my_table';
SELECT * FROM ALL_TAB_COLS WHERE TABLE_NAME = 'my_table';
SELECT * FROM DBA_TAB_COLS WHERE TABLE_NAME = 'my_table';
Comment

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 :: sql in sublime 
Sql :: blob datatype in mysql 
Sql :: oracle auto_increment 
Sql :: postgres alter table owner 
Sql :: drop foreign key mysql 
Sql :: sql where contains 
Sql :: query saurce oracle 
Sql :: mysql create database with collation 
Sql :: shrink database file in sql server 
Sql :: postgresql how to show table names 
Sql :: disable trigger sql oracle 
Sql :: sql truncate statement 
Sql :: input in mysql 
Sql :: show tables in cassandra cql 
Sql :: sql backup database statement 
Sql :: sql not equal multiple columns 
Sql :: change default schema sql server 
Sql :: (PDOException(code: 2002): SQLSTATE[HY000] [2002] Permission denied at 
Sql :: check if string is a number sql 
Sql :: SQL COUNT() with DISTINCT 
Sql :: When mysql server would not work in xampp 
Sql :: postgresql find duplicates 
Sql :: rename field name in mysql 
Sql :: mysql timediff 
Sql :: phpmyadmin change password 
Sql :: install squirrel sql ubuntu 
Sql :: sql server backup table 
Sql :: how to calculate number of days between two dates excluding weekends in oracle 
Sql :: python pandas df to postgres json table 
Sql :: find the median in sql 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =