server level exec permissions on specific function

Last post 06-17-2008 4:14 AM by ghemant. 1 replies.
Page 1 of 1 (2 items)
Active Topics My Discussions Unanswered Sort Posts: Previous Next
  • 06-16-2008 10:19 AM

    server level exec permissions on specific function

    Hello Everyone,

    windows 2003 enterpr, sql 2005 sp2

    we have 30 dbs, and every one of them have the same Scalar-valued Function.

    Also, a windows auth login account that have to have a right to exec that function within every database

    Question: i can make this function global by creating it in a master db or i can go to every single database and grant perm
    to exec that function for this windows login.....

    is there any other way to grant  function exec permission for this specific user on the server level?
    so it can be done once, and not for every single database that we have

    thanks

  • 06-17-2008 4:14 AM In reply to

    Re: server level exec permissions on specific function

    Hi,

    IMO you can have two option add this function to master database, or you can create role ->add login(s) -> grant permission

    Hemantgiri S. Goswami | MS SQL Server MVP
    -------------------------
    "Humans don't have Caliber to PASS TIME , Time it self Pass or Fail Humans" - by Hemantgiri S. Goswami

    http://hemantgirisgoswami.blogspot.com
    http://forums.surat-user-group.org/

    View Hemantgiri S. Goswami's profile on LinkedIn

    Disclaimer: This post is provided as is, for the sake of knowledge sharing only.
Page 1 of 1 (2 items)
Active Topics   My Discussions    Unanswered Posts


© 2000 - 2007 vDerivatives Limited All Rights Reserved.