Search
 
SCRIPT & CODE EXAMPLE
 

SQL

show table status command in mysql

SHOW TABLE STATUS FROM DB_name WHERE name = 'table_name';
Comment

show table info mysql

Copied mysql> DESCRIBE pet;
+---------+-------------+------+-----+---------+-------+
| Field   | Type        | Null | Key | Default | Extra |
+---------+-------------+------+-----+---------+-------+
| name    | varchar(20) | YES  |     | NULL    |       |
| owner   | varchar(20) | YES  |     | NULL    |       |
| species | varchar(20) | YES  |     | NULL    |       |
| sex     | char(1)     | YES  |     | NULL    |       |
| birth   | date        | YES  |     | NULL    |       |
| death   | date        | YES  |     | NULL    |       |
+---------+-------------+------+-----+---------+-------+
Comment

PREVIOUS NEXT
Code Example
Sql :: mysql id reset 
Sql :: show sqlite column names 
Sql :: check database size sql 
Sql :: set statiscis on in sql server 
Sql :: mysql date between two dates 
Sql :: sql find column name like 
Sql :: STOP message of how many rows affected sql 
Sql :: Odoo Service is not coming up with postgresql read replica (slave) 
Sql :: mysql where in array 
Sql :: sql current_timestamp 
Sql :: postgres count distinct 
Sql :: postgres check blocking 
Sql :: check constraint to check if date greater than todays date 
Sql :: postgresql create table with timestamp 
Sql :: mysql f# examples 
Sql :: day of week postgresql 
Sql :: sql server user permissions and roles 
Sql :: What is the compatibility level of a SQL database 
Sql :: mysql get character set 
Sql :: oracle limit user tablespace 
Sql :: mysql find and replace 
Sql :: plsql code for deleting a row from nested table in oracle 
Sql :: tsql replace value in json 
Sql :: postgresql substring last 
Sql :: delete index in postgresql 
Sql :: mysql all columns 
Sql :: list foreign data tables postgres psql 
Sql :: alter table auto_increment 
Sql :: mysql select last 10 rows 
Sql :: sql select all from table 
ADD CONTENT
Topic
Content
Source link
Name
7+1 =