Forum Replies Created

Viewing 15 posts - 8,191 through 8,205 (of 9,244 total)

  • RE: Changing locaton of data and logs for the database and server

    Krasavita

    use the following to generate a modify file command for each database

    declare @sql nvarchar(max)

    set @sql = ''

    select 'alter database [' +db.name + '] modify file (name = ' + al.name...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Can multiple instances run on default port?

    i remember playing around with this before, being nosey. If you stack multiple IP's on the NIC and in SQL Server config manager you basically stop each instance from listening...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Windows Authentication - Different domain

    these are separate domains in separate forests is that correct?

    also clarify the group scopes you have used.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving distmdl.mdf and distmdl.ldf files...

    just pick the files up and move them with the master.mdf

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving distmdl.mdf and distmdl.ldf files...

    are you using any replication?

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Moving distmdl.mdf and distmdl.ldf files...

    always keep dist and resource database in the same location as master.mdf

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Create database using Backup file

    reefshark (7/8/2009)


    I kept getting an error. (why do I keep getting errors with everything I do?!?)

    as Lynn says, you need to restore the database full backup with NORECOVERYas...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Alter Database -- Offline a database

    declare @sql nvarchar(max)

    set @sql = ''

    select @sql = @sql + 'alter database [' + name + '] set offline;

    '

    from sys.databases where database_id > 4

    exec (@sql)

    --all system databases occupy id...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Alter Database -- Offline a database

    what about databases that have open connections what do you want to do about these

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Restoring DB

    shiv (6/13/2009)


    "Device error or device off-line"

    Restore db is terminating abnormally.

    have you checked the tape drive

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: How to Schedule a SQL Trace ?

    yes simon, the path you provide is relative to the server not your machine.

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Is it possible to move Master database?

    Hello buddy, fancy seeing you here 🙂

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: How to Schedule a SQL Trace ?

    i agree with Markus. Create\use a folder that you have permissions for and use that

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: How to Schedule a SQL Trace ?

    can you post the create trace statement you are using

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

  • RE: Is it possible to move Master database?

    as i mentioned the only thing you may need is login info and database paths\details. If you haven't upgraded the database (which you haven't) you would need to script the...

    -----------------------------------------------------------------------------------------------------------

    "Ya can't make an omelette without breaking just a few eggs" 😉

Viewing 15 posts - 8,191 through 8,205 (of 9,244 total)