column names in oracle sql
DESCRIBE Table_Name;
OR
DESC Table_Name;
column names in oracle sql
DESCRIBE Table_Name;
OR
DESC Table_Name;
oracle show column of table
SELECT column_name
FROM all_tab_cols
WHERE table_name = 'USERS'
AND owner = '" +_db+ "'
AND column_name NOT IN ( 'PASSWORD', 'VERSION', 'ID' )
oracle show column of table
-- Depending on schema grants:
SELECT * FROM USER_TAB_COLS WHERE TABLE_NAME = 'my_table'; -- User tables
SELECT * FROM ALL_TAB_COLS WHERE TABLE_NAME = 'my_table'; -- Access granted
SELECT * FROM DBA_TAB_COLS WHERE TABLE_NAME = 'my_table'; -- All schemas
-- Columns from all tables in a schema (or USER_..., DBA_... instead of ALL_...):
SELECT c.TABLE_NAME, c.DATA_TYPE FROM ALL_TAB_COLS c
JOIN ALL_TABLES t ON t.OWNER = c.OWNER
WHERE OWNER = 'my_schema';
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us