Created
July 15, 2010 23:11
-
-
Save ejhayes/477679 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT @R_RECORD_NO = max(r_record_no) + 1 | |
FROM ats.r_record r | |
WHERE fy_id = @L_FY_ID | |
AND asub_id in (select asub_id from ats.asub_acquisition_subtype asub1 where asub_char = (select asub_char from ats.asub_acquisition_subtype where asub_id = @L_ASUB_ID)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment