创建存储过程
来源:互联网 发布:公务员面试 知乎 编辑:程序博客网 时间:2024/06/06 07:04
GO
create procedure InsertRecord
@st_id nchar(10),
@st_name nvarchar(20)
AS
insert into student values(@st_id,@st_name)
GO
GO
declare @intid int,@vacid varchar(10)
set @intid=100000001
while (@intid<=1000001000)
BEGIN
set @vacid=CONVERT(varchar(10),@intid)
exec [dbo].InsertRecord @st_id=@vacid,@st_name='ZhangSan'
set @intid=@intid+1
END
GO
create procedure InsertRecord
@st_id nchar(10),
@st_name nvarchar(20)
AS
insert into student values(@st_id,@st_name)
GO
GO
declare @intid int,@vacid varchar(10)
set @intid=100000001
while (@intid<=1000001000)
BEGIN
set @vacid=CONVERT(varchar(10),@intid)
exec [dbo].InsertRecord @st_id=@vacid,@st_name='ZhangSan'
set @intid=@intid+1
END
GO
- 创建存储过程
- 创建存储过程
- 存储过程及其创建
- 创建分页存储过程
- 存储过程 创建
- Oracle 创建存储过程
- 创建Oracle存储过程
- 创建存储过程
- 创建存储过程
- Oracle 创建存储过程
- SQL创建存储过程
- 存储过程创建语法
- mysql创建存储过程
- Oracle 创建存储过程
- 存储过程创建语法
- 存储过程创建语法:
- 创建存储过程
- 创建存储 过程
- 写技术博客的注意事项
- C#不同类型的成员变量(字段)的默认值
- 字符透明编程自总结
- C#构造函数-创建对象
- 安装程序制作系统NSIS(Nullsoft Scriptable Install System)
- 创建存储过程
- struts2 的HelloWrold程序
- 替换思想
- C#实例化类的详细介绍
- J2ME SMS PUSH 短消息推送
- C#中对象的声明和使用
- C#访问修饰符
- Python基础知识(一)
- 编程错误收集