随笔分类 -  MySql

摘要:原文:http://www.blogjava.net/etlan/archive/2007/07/12/129794.html mysql查看表结构命令mysql查看表结构命令,如下:desc 表名;show columns from 表名;describe 表名;show create table 表名;use information_schemaselect * from columns where table_name='表名';顺便记下:show databases;use 数据库名;show tables;原有一unique索引AK_PAS_Name(PAC_Name 阅读全文
posted @ 2013-03-14 16:35 wangsufei 阅读(170) 评论(0) 推荐(0)
摘要:关闭当前表,再重新打开表 阅读全文
posted @ 2012-05-31 16:38 wangsufei 阅读(209) 评论(0) 推荐(0)