Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Get databases names as a list

    thank your for your replies guys. I managed to get the result i want doing that:

    DECLARE @command varchar(1000)
    EXEC master..sp_MSforeachdb @command
    SELECT @command=
    '
    USE [?]
    IF...

Viewing post 1 (of 1 total)