Quantcast
Channel: Codingslover Programming Blog, Tutorials, jQuery, Ajax, PHP, MySQL
Viewing all articles
Browse latest Browse all 27

How to describe the single field in table by using mysql?

$
0
0

mysql> desc codingslover;
+----------+-------------+------+-----+---------+-------+
|Field|Type|Null|Key|Default|Extra|
+----------+-------------+------+-----+---------+-------+
|ProjId| varchar(20)| NO | PRI | NULL ||
|BranchId|int(11)| YES || NULL ||
|AddedOn| datetime | YES || NULL ||
|Status|int(11)| YES || NULL ||
+----------+-------------+------+-----+---------+-------+
4 rows inset(0.00 sec)

mysql
> desc codingslover ProjId;
+---------+-------------+------+-----+---------+-------+
|Field|Type|Null|Key|Default|Extra|
+---------+-------------+------+-----+---------+-------+
|ProjId| varchar(20)| NO | PRI | NULL ||
+---------+-------------+------+-----+---------+-------+
1 row inset(0.00 sec)



Viewing all articles
Browse latest Browse all 27

Trending Articles