• llevity (12/18/2012)


    The procs were set to EXECUTE AS OWNER, and the database was owned by sa in our QA environment. Thanks a ton!

    Execute as owner does not use the database owner, it uses the procedure owner. Means a sysadmin created the procedures, that's all.

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass