ITPub博客

首页 > 数据库 > > SQL server 存储过程 不太明白 求大佬

SQL server 存储过程 不太明白 求大佬

作者:highhand 时间:2019-09-11 10:08:54 0 删除 编辑

create proc insertLog

@Title nvarchar(50),

@Contents nvarchar(max),

@UserId int,

@CreateTime datetime

as

insert into Logs values(@Title,@Contents,@UserId,@CreateTime)

go

exec insertLog 'admin','admin',1,'2019-8-19'

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/810/viewspace-3170639/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2015-11-11

  • 博文量
    1479
  • 访问量
    30706