摘要:
基本上每次用到存储过程都要到网上查一遍,今天自己整理了一份基础知识不啰嗦了,网上到处都有,直接贴整理好的代码基本语法Create Procedure dbo.存储过程名存储过程参数AS执行语句RETURN执行存储过程GOEg:-- 要创建存储过程的数据库Use Test-- 判断要创建的存储过程名是否存在if Exists(Select name From sysobjects Where name='csp_AddInfo' And type='P')-- 删除存储过程Drop Procedure dbo.csp_AddInfoGo-- 创建存储过程Creat 阅读全文