IF( @ActiveStatus = 1 )
BEGIN
@PasswordStatus = 3
END
ELSE
SET @PasswordStatus = (SELECT password_status
FROM tbl_user
WHERE login_name = @LoginName_fromApp
AND password=@Pass
)
我正在使用 Microsoft SQL Server Management Studio..