如例:
alter books chance column isbn isbn varchar(32) unique
定义变量 set @pointer = (select auto_id from author where 'name'=''j.tumasi)
本文介绍了如何使用SQL语句来修改数据库表中的字段类型及唯一性约束,并展示了定义变量及进行查询操作的方法。
如例:
alter books chance column isbn isbn varchar(32) unique
定义变量 set @pointer = (select auto_id from author where 'name'=''j.tumasi)

被折叠的 条评论
为什么被折叠?