Mssql
文章平均质量分 77
xingtianzhang2008
所有的缺点或是优点都像是无穷的…………,每个人只是停留在不同的.上!
展开
-
mssql之从头再来
去了baidu,每周都得到数据库以及C#这一块的专家,便自以为.....才来到csdn两天,才明白自己是多么的.....,好在我觉悟了,从头再来!if exists(select * from master..sysdatabases where name=mydb)-- if (select db_id(mydb) )is nullprint 数据库已经存在elsebegincre原创 2008-02-05 14:57:00 · 469 阅读 · 0 评论 -
Mssql函数转载
数学函数 1.绝对值 S:select abs(-1) value O:select abs(-1) value from dual 2.取整(大) S:select ceiling(-1.001) value O:select ceil(-1.001) value from dual 3.取整(小) S:select floor(-1.001) value O原创 2008-02-05 15:04:00 · 1295 阅读 · 2 评论 -
mssql表联级
create table student(id int primary key identity(1,1),name varchar(30),)create table exam(id int primary key identity(1,1),typeid int constraint mypkid foreign key (typeid) references student(id)on de原创 2008-02-05 15:07:00 · 388 阅读 · 0 评论