Задайте вопросЗадайте вопрос
 

ОтвеченоRole membership is managed in the transacted part of the script

  • 15 мая 2009 г. 16:00TheBeardedLlama Медали пользователяМедали пользователяМедали пользователяМедали пользователяМедали пользователя
     
    Hello (again),

    Sick of me yet? ;P

    So, now it's time to start getting my other team mates to start using the database project.

    I just had a very interesting thing happen. The short story is that when the "Include transactional scripts" deployment setting is enabled and "Ignore role membership" is disabled, then GDR sticks the EXECUTE sp_addrolemember @rolename = N'xxx', @membername = N'yyy' statements in the transaction part of the script even though this cannot be done inside a transaction (as management studio says if you try to run the generated deployment script).

    Another bug?

    Cheers,
    Steven

Ответы

Все ответы