|
楼主 |
发表于 2020-6-21 13:30:02
|
显示全部楼层
啊` `快疯掉了`
我的是ms Sql Server ManageMent Studio
我在查询分析中写了`这样一段`
CREATE PROCEDURE searchkey @key varchar(50) output AS
IF (SELECT * FROM aspnet_HotSearch WHERE KEY = @key) BEGIN
UPDATE aspnet_HotSearch
SET Count = Count + 1
WHERE KEY = @key END ELSE BEGIN
INSERT
INTO aspnet_HotSearch(KEY, Count)
VALUES (@key, 1) END GO
结果效验语法时出现 无法验证包含函数的查询 |
|