SQL Server IF EXISTS THEN 1 ELSE 2

前端 未结 0 2068
春和景丽
春和景丽 2021-02-11 12:48

Using Sql Server 2012. I have a stored procedure and part of it checks if a username is in a table. If it is, return a 1, if not, return a 2. This is my code:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题