随笔分类 -  夜来风雨

小楼
易忘札记
摘要:外键约束alter table 表名 add constraint 约束名 foreign key (你的外键) references (表名)(字段名);sql数据库时间查询代码第一种set statistics time on--sql 执行 语句set statistics time off第二种declare @dt datetimeset @dt=getdate()--sql 执行语句select [执行时间(ms)]=datediff(ms,@dt,getdate()) 阅读全文
posted @ 2011-03-30 17:45 可惜我是程序员. 阅读(203) 评论(1) 推荐(1)