create PROCEDURE job_resume_Level
@id int,      --编号 AS
BEGIN

在存储过程中 if exists(select count(1) from a where id=@id)

if exists(select count(1) from b where id=@id)

如果用count(1)第二个判断的@ID是自动加1不知道为什么,个人想的是当select from 中是没有字段的时候把id当成变量加1了。

最后换成了* Cunt(*) 也不行。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-15
  • 2022-01-01
  • 2022-12-23
猜你喜欢
  • 2021-12-19
  • 2021-12-11
  • 2022-12-23
  • 2021-05-08
  • 2021-12-17
  • 2021-06-15
  • 2021-10-09
相关资源
相似解决方案