我的第一个SQL存储过程
来源:互联网 发布:淘宝联盟钱怎么提现 编辑:程序博客网 时间:2024/04/28 12:53
<script type="text/javascript"><!--google_ad_client = "pub-1654710028568330";/* 728x90, 创建于 08-5-19 */google_ad_slot = "5790075209";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><script type="text/javascript"><!--google_ad_client = "pub-1654710028568330";/* 728x15, 创建于 08-5-19 */google_ad_slot = "1395130186";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
一创建一个表mystudent
create table mystudent(sno int not null primary key,sname char(20),sage int )
二 创建存储过程
if exists (select name from sysobjects where name='insertMystudentProc' and type='p')drop procedure insertMystudentProcgocreate procedure insertMystudentProc@sno int ,@sname char(20),@sage intasinsert into mystudent values(@sno,@sname,@sage)go
三 执行存储过程
execute insertMystudentProc '1','张三','20'
<script type="text/javascript"><!--google_ad_client = "pub-1654710028568330";/* 728x90, 创建于 08-5-19 */google_ad_slot = "5790075209";google_ad_width = 728;google_ad_height = 90;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><script type="text/javascript"><!--google_ad_client = "pub-1654710028568330";/* 728x15, 创建于 08-5-19 */google_ad_slot = "1395130186";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 我的第一个SQL存储过程
- 我的第一个存储过程
- 我的第一个存储过程
- [遍历表]我的第一个mysql存储过程
- mysql 存储过程(我自己写的第一个存储过程,支持事务管理)2
- 第一个存储过程
- 额洗的第一个存储过程
- 自己写的第一个存储过程
- Oracle的第一个存储过程
- 第一个让我兴奋得存储过程
- 我写的第一个带游标的oracle存储过程
- 我的第一个App开发过程
- 第一个oracle存储过程
- 第一个mysql存储过程
- 第一个Oracle存储过程
- 第一个mysql存储过程
- 我的sql数据库存储过程分页- -
- 写的第一个mysql的存储过程
- 应用程序
- 生活是什么
- 非常好的JS框架!!EXTJS
- 华为C/C++笔试题
- [转]wince的一些小问题集合
- 我的第一个SQL存储过程
- 全新高校BBS上的睿智囧笑话点评版
- diyici
- CString的用法
- 破碎的记忆
- 使用PowerDesigner的问题总结
- FCKeditor相关问题
- sql
- Log4Net使用指南