Search
 
SCRIPT & CODE EXAMPLE
 

SQL

oracle get table column names

SELECT COLUMN_NAME
FROM DBA_TAB_COLS
WHERE table_name = 'my_table';
Comment

column names in oracle sql

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 :: how to find the most occuring in SQL 
Sql :: sqlite version check 
Sql :: mysql sum cast decimal without round 
Sql :: postgresql list columns 
Sql :: how to find date from date table in sql 
Sql :: login to database mysql terminal 
Sql :: oracle create program if no exists 
Sql :: mysql number format 
Sql :: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client 
Sql :: oracle sql timestamp 
Sql :: Step 1: Installing MySQL Client You can install MySQL client directly through pip using the command pip install mysqlclient 
Sql :: oracle ora-00054 find 
Sql :: oracle user privileges 
Sql :: oracle asynchronous query 
Sql :: centos 8 install mysql 
Sql :: create a unqie constraint mysql 
Sql :: size of all tables in a schema oracle 
Sql :: mysql alter decimal precision 
Sql :: mysql reset root password 
Sql :: mysqli_connect using prepare statement 
Sql :: epoch time converter in snowflake 
Sql :: sql remove not null constraint 
Sql :: how to remove a column from a table in MySQL 
Sql :: mysql how to change default charset 
Sql :: Suse Linux restart MySQL 
Sql :: insert data in pgsql 
Sql :: mysql query bulk insert 
Sql :: rename constraint postgresql 
Sql :: sql show all users 
Sql :: sql date get month 
ADD CONTENT
Topic
Content
Source link
Name
1+4 =