![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据库
mxw968
这个作者很懒,什么都没留下…
展开
-
数据库常用SQL语句
SQL Server中常用SQL语句更改字段类型、长度 alter table [表名] alter column [字段名] [类型[长度]] 例:更改学生表的学生名字段由原来的长度10改为长度50 alter table stu alter column stuName varchar(50) 注:两行SQL语句分开执行更改字段类型 alter table [表名] alte原创 2017-05-09 14:22:04 · 336 阅读 · 0 评论 -
Mysql常用函数使用小结
查询mysql所有库中所有包含某一字段的表select * from information_schema.columns where column_name='[字段名]';查询mysql具体库中包含某一字段的表select * from information_schema.columns where table_schema='[数据库名]' and column_name='[字...原创 2019-02-02 15:17:02 · 160 阅读 · 0 评论