tSQL to set up user with View Definition permission on SQL Azure

前端 未结 3 1061
执念已碎
执念已碎 2021-02-14 03:01

I\'m trying to export a SQL Azure database to a .bacpac file using the Azure portal. The administrator username on my database contains a *

3条回答
  •  无人及你
    2021-02-14 03:46

    This will not work on sql azure. You will need to grant view definition at the database level. (without the ANY keyword)

    GRANT VIEW DEFINITION TO gu6t6rdb

    P.S: I hit the exact same issue and this seemed to solve my problem. I also had to do a Grant Execute (but it depends on what your bacpac is applying to the database)

提交回复
热议问题