标签: sql-server tsql stored-procedures
我试图通过存储过程删除项目我收到错误说明
语法错误:'CREATE PROCEDURE'必须是唯一的语句 批次。
对我的代码有任何建议吗?
create procedure SP_DeleteProject ( @projectId char(4) ) as begin delete from Project where projectId = @projectId; end go
答案 0 :(得分:2)