Forum Replies Created

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

  • RE: Deny create table in [dbo] schema

    Hi Lowell,

    Yes, you are right every user has db_ddladmin role so this is the issue.

    Thank you very much for your help.

    Cheers,

    Marcin

  • RE: SINGLE_USER mode error

    Hi All,

    Thank you very much for you answers

    The conclusion is as someone write in this forum 'that there is no guarantee that in between the execution of the alter database...

  • RE: SINGLE_USER mode error

    Hi,

    But object explorer uses different connection so it shouldn't take this one session.

    Cheers,

    Martin

  • RE: SINGLE_USER mode error

    Hi John

    I know that it is not necessary but i need that for further processing

    I've got system 7/24 and need to move some databases to new storage.

    So I

    1)Restore copy of...

  • RE: SINGLE_USER mode error

    Hi Gail,

    Thank you very much for answer,

    but I've tried to reproduce your scenario

    1)From one session

    USE [master]

    GO

    ALTER DATABASE [test] SET SINGLE_USER WITH ROLLBACK IMMEDIATE;

    2)From second session

    use [test]

    Msg 924, Level...

  • RE: Moving log file after configured Log Shipping

    Hi,

    No, single user mode will not work.

    Altering database in this way require setting int off and online.

    Cheers,

    Marcin

  • RE: Moving log file after configured Log Shipping

    Hi,

    The easiest way to move logshipped database

    1)Stop logshipping

    use master

    alter database [xxx] set offline

    alter database [xx] modify file (name=xxx_log, FILENAME='some_path\xxx_log.ldf')

    2)Physically move log files to path 'some_path'

    3)alter database [xxx] set online

    6)Resume...

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