Skip to content

Instantly share code, notes, and snippets.

@flash-gordon
Created November 18, 2013 16:45
Show Gist options
  • Save flash-gordon/7531079 to your computer and use it in GitHub Desktop.
Save flash-gordon/7531079 to your computer and use it in GitHub Desktop.
FUNCTION FETCH_NEXT_SERVICE
RETURN BOOLEAN
AS
num_Rows NUMBER;
BEGIN
rc_ServiceRow := NULL;
rc_OverlappingRow := NULL;
OPEN c_NextService;
FETCH c_NextService INTO rc_ServiceRow;
FETCH c_NextService INTO rc_OverlappingRow;
num_Rows := c_NextService%ROWCOUNT;
CLOSE c_NextService;
RETURN num_Rows > 0;
END FETCH_NEXT_SERVICE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment