This might sound odd but hopefully someone can shed some light on this.
I have a stored procedure thatr has three SELECT statements that are UNION'ed.
NOW it turns out the business users don't like seeing the multipole rows and just need the very first row in the cursor. For reasons I can't getinto, the UNIONS must stay (i hate my life).
Is there any way to just FETCH the first row of a CURSOR. For example:
DECLARE BONEHEAD CURSOR FOR SELECT
......
......
......
OPEN BONEHEAD CURSOR <would like to just select the first row here>
Thanks in advance!!