script login permissions at database, server level

  • Hi, I was moving databases to a new server (SQL2005) and taking the ones on the existing server (SQL2000) offline. I had also to copy over some of the logins. I was not sure what happens to the explicitly granted server permissions like view server state, etc.

    Can this be scripted out?

    Please let me know. Thank you.

  • GRANT VIEW SERVER STATE TO <<login name>>

    This will grant <<login_name>> VIEW ANY STATE permission.

    -------Bhuvnesh----------
    I work only to learn Sql Server...though my company pays me for getting their stuff done;-)

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply