Search
 
SCRIPT & CODE EXAMPLE
 

SQL

How to View column names of a table in SQL

DESCRIBE Table_Name;

OR 

DESC Table_Name;
Comment

show column names in sql table

-- sql server 
sp_columns feeAgreement
-- or
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = N'feeAgreement'
Comment

get table column names sql

SELECT      COLUMN_NAME AS 'ColumnName'
FROM        INFORMATION_SCHEMA.COLUMNS 
WHERE 
TABLE_NAME LIKE '%assembly_armatureassy_tbl%' 
and COLUMN_NAME LIKE '%supplied%'
Comment

PREVIOUS NEXT
Code Example
Sql :: create sqlite database in laravel 
Sql :: sql fillna 
Sql :: sql insert timestamp 
Sql :: oracle trace session 
Sql :: adding a check statement in sql 
Sql :: postgres format date in select 
Sql :: sql myisam vs innodb 
Sql :: mysql select where text contains 
Sql :: strict in postgres SQL 
Sql :: sysdate in sql 
Sql :: sql replace character in string in all records 
Sql :: postgres first_value in gropby 
Sql :: how to check schema privileges in oracle 
Sql :: oracle grant on all tables in schema 
Sql :: turn off safe mode mysql 
Sql :: check database status oracle 
Sql :: oracle to_number 
Sql :: mysql to lowercase 
Sql :: minus vs intersect in sql 
Sql :: sql to char function with date 
Sql :: id increment ms sql server 
Sql :: convert date to datetime sql 
Sql :: SQL Modify Column in a Table -Oracle 
Sql :: ubuntu mysql cannot connect to database server remote 
Sql :: list all the tables in sql 
Sql :: delete record mysql query 
Sql :: mysql add root password 
Sql :: sql order by where condition 
Sql :: SQLSTATE[IMSSP]: The active result for the query contains no fields. 
Sql :: show all database inside postgresql 
ADD CONTENT
Topic
Content
Source link
Name
9+3 =