Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

SQL stops working in every 15 days displaying message that
database log file is full. Log file size is 3.95 GB. It is
happening after shrinking the database also. What is
solution to overcome this problem. Please help me as it's
urgent.

Answer Posted / rajesh ranjan

In MS SQL Server 2005
select * from sys.database_files
Above Query will return .mdf , .ldf file & all other
details releted to these files of the database
After that you should run following DBCC Statement

DBCC Shrinkfile(Log_file_name.ldf,1,truncateonly)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to see the event list of an existing trigger using sys.trigger_events?

1039


Your sql server is running out of disk space. You notice that there are several large files with ldf extensions what are these files?

1138


How to create new databases with "create database" statements?

966


What do you need to connect php to sql server?

1054


How to generate create function script on an existing function?

1053


Explain few examples of RDBMS?

984


Explain the disadvantages of cursors?

1064


Explain contrast amongst grouped and non-bunched records?

974


What is the difference between MVC and Teir Architecher? Plz explain with Layyered Programming example...? Thanks

1997


In which tcp/ip port does sql server run? Can it be changed?

952


What is a non equi join?

920


What method is used by the Command classes to execute SQL statements that return single values?

1014


Explain relational data?

864


Can another user execute your local temporary stored procedures?

946


What are the new features in SQL Server 2005 when compared to SQL Server 2000?

1106