![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
sqlserver
HCW881007
这个作者很懒,什么都没留下…
展开
-
创建SQL约束
---创建表 create table student ( id int identity(1,1) primary key, stuName nvarchar(10), stuSex bit, stuAge int ) ---- 插入 insert into student(stuName,stuSex,stuAge) values('张一',0,12);原创 2013-03-17 12:39:23 · 534 阅读 · 0 评论 -
SQL基本操作
---创建表 create table student ( id int identity(1,1) primary key, stuName nvarchar(10), stuSex bit, stuAge int ) ---- 插入 insert into student(stuName,stuSex,stuAge) values('张一',0,12);原创 2013-03-18 21:47:49 · 465 阅读 · 0 评论 -
存储过程
------------存储过程-------------- --usp_存储过程 --无参数的一个查询存储过程语法 /* create proc usp_存储过程名 as 查询步骤 */ go create proc usp_spFenYe1 as select * from dbo.Fn_FenYe1(1,2); go ----------- exe原创 2013-03-19 22:55:41 · 543 阅读 · 0 评论