Search
 
SCRIPT & CODE EXAMPLE
 

SQL

select from describe sql

SELECT COLUMN_NAME AS `Field`, COLUMN_TYPE AS `Type`, IS_NULLABLE AS `NULL`, 
       COLUMN_KEY AS `Key`, COLUMN_DEFAULT AS `Default`, EXTRA AS `Extra`
FROM information_schema.COLUMNS  
WHERE TABLE_SCHEMA = 'schemaName' AND TABLE_NAME = 'table1';
Comment

PREVIOUS NEXT
Code Example
Sql :: get ip from phpmyadmin 
Sql :: convert rows to columns in sql server 
Sql :: nosql databases list 
Sql :: docker open terminal mysql server 
Sql :: sql server obtener fecha en formato dd/mm/yyyy 
Sql :: mysql concatenate select results 
Sql :: mysql find missing values 
Sql :: select table column name in sql 
Sql :: mysql grant grant option 
Sql :: how to delete a record from sqlite in android 
Sql :: sqlite create table if not exists 
Sql :: wherein mysql 
Sql :: check if sql temp table exists 
Sql :: mysql select where starts with 
Sql :: how to see the query of a view in mysql 
Sql :: mysql regex replace 
Sql :: spring datasource properties mysql 
Sql :: oracle sql date get month 
Sql :: get primary key of table 
Sql :: copying query result to excel 
Sql :: oracle insert into 
Sql :: how to assign date field for table in mysql 
Sql :: trim sql oracle 
Sql :: mysql case when or 
Sql :: pad zero sql server 
Sql :: oracle show procedures 
Sql :: join in update query in mysql 
Sql :: mysql search table in all databases 
Sql :: modify column name in sql 
Sql :: oracle running queries sql 
ADD CONTENT
Topic
Content
Source link
Name
5+7 =