且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我的存储过程无法正常工作,我正在尝试插入新行。

更新时间:2023-02-08 23:06:34

运行此并尝试 -

Run this and try -
ALTER PROCEDURE [dbo].[val]
@Name1 varchar(20),
@Amount char(10)
AS
BEGIN
Insert into store (Name1, Amount)
values (@Name1, @Amount)
END





这里的区别是括号。



The difference here are the brackets.


亲爱的朋友们,



我明白了!这是目录。而不是主人,它应该是新的。我感到很困惑,因为两者都有程序val。
Dear Friends,

I got it! It was the catalog . Instead of "master" it should be "new". I got confused as there was the procedure val in both of them.