Skip to content

Instantly share code, notes, and snippets.

@ritacse
Created February 25, 2019 05:24
Show Gist options
  • Save ritacse/0a0802e41fc83bbfcee2f3479e20fb4c to your computer and use it in GitHub Desktop.
Save ritacse/0a0802e41fc83bbfcee2f3479e20fb4c to your computer and use it in GitHub Desktop.
IF EXISTS(SELECT * FROM [dbo].[PRoll_Company_Monthly_Salary_T_X] WHERE CompSalaryMonth =@month AND [CompSalaryYear] =@Year )
BEGIN
---DO something here
END
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment