📜  如果存在 sql server - TypeScript 代码示例
📅  最后修改于: 2022-03-11 14:48:12.554000             🧑  作者: Mango
代码示例1
IF EXISTS (SELECT * FROM tblGLUserAccess WHERE GLUserName ='xxxxxxxx')
BEGIN
SELECT 1
END
ELSE
BEGIN
SELECT 2
END