05 2016 档案

C#调用存储过程
摘要:1、调用无返回值的存储过程--存储过程create proc myinsert @username varchar(10), @password varchar(10), @name varchar(10), @usertype varchar(10), @createpeople varchar( 阅读全文

posted @ 2016-05-05 17:09 淹死的鸭子 阅读(548) 评论(0) 推荐(0)

SQL SERVER存储过程的几种示例
摘要:1、常用系统存储过程及使用语法:exec sp_databases; --查看数据库exec sp_tables; --查看表exec sp_columns student;--查看列exec sp_helpIndex student;--查看索引exec sp_helpConstraint stu 阅读全文

posted @ 2016-05-05 16:35 淹死的鸭子 阅读(1378) 评论(0) 推荐(0)

SQLSERVER2008 存储过程基本语法
摘要:一、定义变量--简单赋值declare @a intset @a=5print @a --使用select语句赋值declare @user1 nvarchar(50)select @user1= '张三'print @user1declare @user2 nvarchar(50)select @ 阅读全文

posted @ 2016-05-05 16:31 淹死的鸭子 阅读(11152) 评论(0) 推荐(1)

导航