• mick miller (6/14/2009)


    Hello

    EXECUTE srvdentw.master.sys.sp_msforeachdb 'PRINT ''?'''

    Msg 7411, Level 16, State 1, Line 1

    Server 'srvdentw' is not configured for RPC.

    Thanks miller

    Either turn on RPC, or try it like this:

    EXEC ('EXECUTE master.sys.sp_msforeachdb ''PRINT ''''?'''''''') AT srvdentw

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]