• KoldCoffee (4/1/2013)


    Yes, I agree. There's also an sp_msforeachdb function available....

    But I needed to learn the cursor

    Actually, we can probably show you how to do this without using a cursor if you show us what you are trying to accomplish.