I have a database of around 100 GB. It was de-attached
from the system. When I attach it to the system, it says
log file is not available though it is getting attached.
When I do any transaction, it says Log file is not
available. Kindly HelpHi,
Try to use below DBCC command. Since it a undocumented command please
contact your primary support before usage.
dbcc rebuild_log('dbname','C:\dbname_log.ldf')
Thanks
Hari
MCDBA
"Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
> I have a database of around 100 GB. It was de-attached
> from the system. When I attach it to the system, it says
> log file is not available though it is getting attached.
> When I do any transaction, it says Log file is not
> available. Kindly Help|||Hari
Yes it is in case of emergency.
Fully supported way to do it is backup log 'dbname' to... with no_truncate
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Try to use below DBCC command. Since it a undocumented command please
> contact your primary support before usage.
> dbcc rebuild_log('dbname','C:\dbname_log.ldf')
> Thanks
> Hari
> MCDBA
>
> "Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
> news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
>|||Hi
What do you mean my fully supported?. howcan I backup the
logfile when I do not have log file associated with my mdf
file.I mean if I do any transaction, it would first
display a message that log file is not avaialable.Pls
explain as its going out of control.
Regards
Pankaj
>--Original Message--
>Hari
>Yes it is in case of emergency.
>Fully supported way to do it is backup log 'dbname'
to... with no_truncate
>
>"Hari" <hari_prasad_k@.hotmail.com> wrote in message
>news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
command please
wrote in message
says
attached.
>
>.
>sql
Showing posts with label available. Show all posts
Showing posts with label available. Show all posts
Wednesday, March 21, 2012
Log file is not available
I have a database of around 100 GB. It was de-attached
from the system. When I attach it to the system, it says
log file is not available though it is getting attached.
When I do any transaction, it says Log file is not
available. Kindly HelpHi,
Try to use below DBCC command. Since it a undocumented command please
contact your primary support before usage.
dbcc rebuild_log('dbname','C:\dbname_log.ldf')
Thanks
Hari
MCDBA
"Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
> I have a database of around 100 GB. It was de-attached
> from the system. When I attach it to the system, it says
> log file is not available though it is getting attached.
> When I do any transaction, it says Log file is not
> available. Kindly Help|||Hari
Yes it is in case of emergency.
Fully supported way to do it is backup log 'dbname' to... with no_truncate
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Try to use below DBCC command. Since it a undocumented command please
> contact your primary support before usage.
> dbcc rebuild_log('dbname','C:\dbname_log.ldf')
> Thanks
> Hari
> MCDBA
>
> "Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
> news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
> > I have a database of around 100 GB. It was de-attached
> > from the system. When I attach it to the system, it says
> > log file is not available though it is getting attached.
> > When I do any transaction, it says Log file is not
> > available. Kindly Help
>|||Hi
What do you mean my fully supported?. howcan I backup the
logfile when I do not have log file associated with my mdf
file.I mean if I do any transaction, it would first
display a message that log file is not avaialable.Pls
explain as its going out of control.
Regards
Pankaj
>--Original Message--
>Hari
>Yes it is in case of emergency.
>Fully supported way to do it is backup log 'dbname'
to... with no_truncate
>
>"Hari" <hari_prasad_k@.hotmail.com> wrote in message
>news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
>> Hi,
>> Try to use below DBCC command. Since it a undocumented
command please
>> contact your primary support before usage.
>> dbcc rebuild_log('dbname','C:\dbname_log.ldf')
>> Thanks
>> Hari
>> MCDBA
>>
>> "Pankaj Agarwal" <anonymous@.discussions.microsoft.com>
wrote in message
>> news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
>> > I have a database of around 100 GB. It was de-attached
>> > from the system. When I attach it to the system, it
says
>> > log file is not available though it is getting
attached.
>> > When I do any transaction, it says Log file is not
>> > available. Kindly Help
>>
>
>.
>
from the system. When I attach it to the system, it says
log file is not available though it is getting attached.
When I do any transaction, it says Log file is not
available. Kindly HelpHi,
Try to use below DBCC command. Since it a undocumented command please
contact your primary support before usage.
dbcc rebuild_log('dbname','C:\dbname_log.ldf')
Thanks
Hari
MCDBA
"Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
> I have a database of around 100 GB. It was de-attached
> from the system. When I attach it to the system, it says
> log file is not available though it is getting attached.
> When I do any transaction, it says Log file is not
> available. Kindly Help|||Hari
Yes it is in case of emergency.
Fully supported way to do it is backup log 'dbname' to... with no_truncate
"Hari" <hari_prasad_k@.hotmail.com> wrote in message
news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
> Hi,
> Try to use below DBCC command. Since it a undocumented command please
> contact your primary support before usage.
> dbcc rebuild_log('dbname','C:\dbname_log.ldf')
> Thanks
> Hari
> MCDBA
>
> "Pankaj Agarwal" <anonymous@.discussions.microsoft.com> wrote in message
> news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
> > I have a database of around 100 GB. It was de-attached
> > from the system. When I attach it to the system, it says
> > log file is not available though it is getting attached.
> > When I do any transaction, it says Log file is not
> > available. Kindly Help
>|||Hi
What do you mean my fully supported?. howcan I backup the
logfile when I do not have log file associated with my mdf
file.I mean if I do any transaction, it would first
display a message that log file is not avaialable.Pls
explain as its going out of control.
Regards
Pankaj
>--Original Message--
>Hari
>Yes it is in case of emergency.
>Fully supported way to do it is backup log 'dbname'
to... with no_truncate
>
>"Hari" <hari_prasad_k@.hotmail.com> wrote in message
>news:OWTx6nBAEHA.2040@.TK2MSFTNGP12.phx.gbl...
>> Hi,
>> Try to use below DBCC command. Since it a undocumented
command please
>> contact your primary support before usage.
>> dbcc rebuild_log('dbname','C:\dbname_log.ldf')
>> Thanks
>> Hari
>> MCDBA
>>
>> "Pankaj Agarwal" <anonymous@.discussions.microsoft.com>
wrote in message
>> news:4c3c01c3ffc3$399864a0$a001280a@.phx.gbl...
>> > I have a database of around 100 GB. It was de-attached
>> > from the system. When I attach it to the system, it
says
>> > log file is not available though it is getting
attached.
>> > When I do any transaction, it says Log file is not
>> > available. Kindly Help
>>
>
>.
>
Log file is not available
Dear sir
I have a database of around 116Gb and somehow I lost my
log file , now I am able to attach the database but not
able to do any transaction as I lost the log file.Pls
advice me how to add a log file with this database.
Regards
TriveniHi Triveni,
Check this out!
Restoring databases when only data file available
http://www.sqlservercentral.com/scripts/scriptdetails.asp?
scriptid=599
Regards
Thirumal Reddy M
www.sstil.com
>--Original Message--
>Dear sir
>I have a database of around 116Gb and somehow I lost my
>log file , now I am able to attach the database but not
>able to do any transaction as I lost the log file.Pls
>advice me how to add a log file with this database.
>Regards
>Triveni
>.
>|||Hi !!
Did not find anything on the below link. pls provide the
suggestion as soon as possible.
>--Original Message--
>Hi Triveni,
>Check this out!
>Restoring databases when only data file available
>http://www.sqlservercentral.com/scripts/scriptdetails.asp?
>scriptid=599
>Regards
>Thirumal Reddy M
>www.sstil.com
>>--Original Message--
>>Dear sir
>>I have a database of around 116Gb and somehow I lost my
>>log file , now I am able to attach the database but not
>>able to do any transaction as I lost the log file.Pls
>>advice me how to add a log file with this database.
>>Regards
>>Triveni
>>.
>.
>
I have a database of around 116Gb and somehow I lost my
log file , now I am able to attach the database but not
able to do any transaction as I lost the log file.Pls
advice me how to add a log file with this database.
Regards
TriveniHi Triveni,
Check this out!
Restoring databases when only data file available
http://www.sqlservercentral.com/scripts/scriptdetails.asp?
scriptid=599
Regards
Thirumal Reddy M
www.sstil.com
>--Original Message--
>Dear sir
>I have a database of around 116Gb and somehow I lost my
>log file , now I am able to attach the database but not
>able to do any transaction as I lost the log file.Pls
>advice me how to add a log file with this database.
>Regards
>Triveni
>.
>|||Hi !!
Did not find anything on the below link. pls provide the
suggestion as soon as possible.
>--Original Message--
>Hi Triveni,
>Check this out!
>Restoring databases when only data file available
>http://www.sqlservercentral.com/scripts/scriptdetails.asp?
>scriptid=599
>Regards
>Thirumal Reddy M
>www.sstil.com
>>--Original Message--
>>Dear sir
>>I have a database of around 116Gb and somehow I lost my
>>log file , now I am able to attach the database but not
>>able to do any transaction as I lost the log file.Pls
>>advice me how to add a log file with this database.
>>Regards
>>Triveni
>>.
>.
>
Subscribe to:
Posts (Atom)