初学SQL,实验中有这么一段:
alter table student
add 年级 int
constraint chname check(年级<100)
exec sp_help chname;
请问这里的Exec sp_help 是做什么用的?是执行约束条件的吗?为什么后来有的句段中也添加约束但没有这句话呢?
alter table student
add 年级 int
constraint chname check(年级<100)
exec sp_help chname;
请问这里的Exec sp_help 是做什么用的?是执行约束条件的吗?为什么后来有的句段中也添加约束但没有这句话呢?
sp_depends:用于显示存储过程依据的对象或者依据存储过程的对象。
sp_helptext:用于显示存储过程的定义文本。 -----------------------------------
http://www.jiemengwu.com/ 解梦屋 http://www.phpzy.com/php/ 绿色php资源