摘要: use studentcreate table bumen( bcode int primary key, bname varchar(50), bzhi varchar(50))gocreate table ren( code int identity(1,1), name varchar(50) 阅读全文
posted @ 2015-11-22 20:06 左转右转 阅读(650) 评论(0) 推荐(0)
摘要: 1、时间日期函数set datefirst 1select @@DATEFIRST as '1st Day',DATEPART(DW,GETDATE())as 'ToDay'select getdate()select DATEADD(YEAR,2,'2015-11-22 14:45:03.690'... 阅读全文
posted @ 2015-11-22 20:01 左转右转 阅读(351) 评论(0) 推荐(0)