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 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

PREVIOUS NEXT
Code Example
Sql :: get all schemas postgres 
Sql :: mysql database stopped xampp mac 
Sql :: update password postgres user 
Sql :: oracle table size 
Sql :: sql server check version 
Sql :: install mysql on mac 
Sql :: sql first day of current year 
Sql :: sql delete multiple ids 
Sql :: OSError: mysql_config not found 
Sql :: how to check username in mysql command line 
Sql :: how to duplicate table in mysql 
Sql :: Find all tables containing column with specified name - MS SQL Server 
Sql :: sql auto update dupdated_at 
Sql :: primary key reset in SQL database 
Sql :: oracle service name view 
Sql :: create schema sql server 
Sql :: oracle first and last day of previous month 
Sql :: sqlite connection string 
Sql :: mysql increment value by 1 in update 
Sql :: key validation sql 
Sql :: show all tables in oracle 
Sql :: timestamp in sqlite 
Sql :: postgres delete last row 
Sql :: oracle list tables 
Sql :: console output pl sql 
Sql :: drop procedure sql 
Sql :: oracle kill session by sql_id 
Sql :: insert postgres 
Sql :: oracle sql truncate table 
Sql :: mysql server is not starting xampp 
ADD CONTENT
Topic
Content
Source link
Name
8+4 =