摘要: SQL Server的存储过程写法以及使用跟Mysql的类似,但又有区别。SQL Server 语法:1、构造无参的存储过程,则不能添加括号(),如下所示:--删除是否已存在的存储过程if(object_id('proc_table_data','p')is not null) drop proc proc_table_datago--创建不带参数的存储过程,不带参数的连括号都不需要加,区别Mysql的存储过程create proc proc_table_dataas select * from td_article--执行存储过程exec proc_table 阅读全文
posted @ 2014-02-28 14:54 meng23 阅读(267) 评论(0) 推荐(0) 编辑