Create proc InsertAction @actiondate datetime, @action nvarchar(50), @adminid int as insert into AdminAction([Action],ActionDate,AdminId) values(@action,@actiondate,@adminid) InsertAction 2023-03-13 22:38:34.383,'sss',4 错在哪
时间: 2023-05-13 19:06:46 浏览: 139
CREATE PROC [dbo].[proc_insert].sql
这段代码有一个语法错误,应该将 InsertAction 后面的参数用括号括起来,正确的写法是:
exec InsertAction('2023-03-13 22:38:34.383', 'sss', 4)
阅读全文