From: John Couch on
Does anyone know if this is possible? I want to create a new transaction log,
and remove the existing primary one, essential making the new transaction log
the primary.
From: Uri Dimant on
John
May I ask why?
Anyway
detach the database and attach it with single file , since I do not know
the version you are using , see details in the BOL









"John Couch" <JohnCouch(a)discussions.microsoft.com> wrote in message
news:0E5B82B2-6713-4C4E-95A5-3CE29C6DD7C2(a)microsoft.com...
> Does anyone know if this is possible? I want to create a new transaction
> log,
> and remove the existing primary one, essential making the new transaction
> log
> the primary.


From: Andrew J. Kelly on
No you cannot delete the primary log file. Just move it to where you want it
to be with either a detach & attach or backup restore with move option.

--

Andrew J. Kelly SQL MVP
Solid Quality Mentors

"John Couch" <JohnCouch(a)discussions.microsoft.com> wrote in message
news:0E5B82B2-6713-4C4E-95A5-3CE29C6DD7C2(a)microsoft.com...
> Does anyone know if this is possible? I want to create a new transaction
> log,
> and remove the existing primary one, essential making the new transaction
> log
> the primary.

From: Mark Hickin on
It sounds as if you want to move your transaction log, or perhaps just rename
it.

The easiest way to do this is to detach the database (it will cease to be
available), move the file, and re-attach specifying the new log file
location.




From: Simon Whale on
even thought not recommended it was something that you could do with SQL
2000.. but its been stopped in 2005 as far as i know

"Andrew J. Kelly" <sqlmvpnooospam(a)shadhawk.com> wrote in message
news:%233MRc0NeKHA.4636(a)TK2MSFTNGP04.phx.gbl...
> No you cannot delete the primary log file. Just move it to where you want
> it to be with either a detach & attach or backup restore with move option.
>
> --
>
> Andrew J. Kelly SQL MVP
> Solid Quality Mentors
>
> "John Couch" <JohnCouch(a)discussions.microsoft.com> wrote in message
> news:0E5B82B2-6713-4C4E-95A5-3CE29C6DD7C2(a)microsoft.com...
>> Does anyone know if this is possible? I want to create a new transaction
>> log,
>> and remove the existing primary one, essential making the new transaction
>> log
>> the primary.
>