FETCH NEXT INTO not formatted

JoojooflopJoojooflop Posts: 5 Bronze 2
edited March 30, 2012 9:58AM in SQL Prompt Previous Versions
The FETCH statement in the following code does not format correctly.
DECLARE @Col1 INT
DECLARE Cur1 CURSOR FOR SELECT 1 AS Col1
OPEN Cur1

FETCH NEXT
                                                          FROM Cur1
              INTO @Col1

CLOSE Cur1
DEALLOCATE Cur1
The FROM and INTO clauses are left in their original positions, without any adjustments to whitespace or indenting.

Comments

Sign In or Register to comment.