0

每次我创建一个存储过程并按 f5 时,它都会说命令已成功执行,但是当我单击过程名称并单击执行时,它会提示我输入参数,然后说存储过程名称的对象名称无效。无法弄清楚为什么会发生这种情况.

 USE [MIND]
 GO
/****** Object:  StoredProcedure [dbo].[NAME]    Script Date: 20-09-2013 22:29:51 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
ALTER procedure [dbo].[NAME]  @delivery_status varchar(10),@startdate date,@enddate date
AS
select * from deliverydata 
where deliverydata.delivery_status=@delivery_status and Date in (@startdate,@enddate)
4

0 回答 0