Viewing 15 posts - 1,336 through 1,350 (of 1,352 total)
Better try to find out the reason as Maverick said ,If ur sole aim is to shrink the log the best way is
change ur database recovery model to...
October 23, 2007 at 8:09 am
If u r still getting the error change ur database recovery model to 'SIMPLE' then run the DBCC SHRINKFILE command
dbcc shrinkfile (log_file_name,size)
October 22, 2007 at 6:40 am
Thanks for those words..Keep viewing the forum for more such error you have ever seen or heard.
October 17, 2007 at 6:34 am
USE [master]
GO
CREATE DATABASE [Adventureworks] ON
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Data.mdf' ),
( FILENAME = N'C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data\AdventureWorks_Log.ldf' )
FOR ATTACH
GO
if not exists (select name from master.sys.databases sd where...
October 17, 2007 at 6:32 am
In SQL Server 2005 you can simply rename the database using GUI or using the command sp_renamedb old_name,new_name.
October 10, 2007 at 5:44 am
Hi JO thanks for ur reply ..
How to check the service pack in client machine????Is there any service pack for client machine???
September 19, 2007 at 5:53 am
In sql server 2005 enterprise edition you have the option for generating reports.If ur using sql express 2005 then upgrade to sql server 2005 express with advanced services ,this advanced...
September 18, 2007 at 7:29 am
Issue check point that will commit the uncommited transactions.
Backup the databse will do the same.
dbcc shrinkfile('log file path',size)....
If all these are not working then
take a full backup,change the recovery...
September 14, 2007 at 7:59 am
Definitely u can choose other locations..Not only in other folders u can also give ur mdf and ldf in other drive also...Alll ur mdf and ldf files are safe even...
September 14, 2007 at 6:30 am
The best third party tools is DBARTISIAN.It will definitely help u in all aspects .
August 30, 2007 at 6:03 am
Restore Last Full Backup with no recovery
then restore last differential backup with norecovery
finally restore log backup with recovery
August 24, 2007 at 11:25 am
There is an option 'NEW QUERY' option in management studio ..use that
August 22, 2007 at 10:42 am
check this http://www.exforsys.com/tutorials/sql-server-2005/sql-server-2005-architecture-overview.html
August 21, 2007 at 8:11 am
Viewing 15 posts - 1,336 through 1,350 (of 1,352 total)