Viewing post 1 (of 1 total)
You can get rid of the need for the cursor
SELECT @r=@R+column_name+',' from INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE where constraint_name =@uq_name
G
September 24, 2009 at 6:26 am
#1057960