Forum Replies Created

Viewing post 1 (of 2 total)

  • RE: Automate Your Backup and Restore Tasks

    Hi,

    To drop a database (in this case: Develop) use this script:

    if exists (select name from master.sys.databases where name = 'Develop')

    begin

    alter database Develop

    set restricted_user with rollback...

Viewing post 1 (of 2 total)