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...

can you any body tell me the how to decrease the logfile

Answer Posted / lekhrajdeshmukh

We have to decrease the size of a log file by shrinking the
large file.

Syntex:-
DBCC dbname
go
DBCC shrinkfile(filename,sizevalue)
go.
for eg I want to shrink the filename data of databse userdb
to 7 mb.

dbcc userdb
dbcc shrinkfile(data,7)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the purpose of Normalisation?

1089


explain what is raid and what are different types of raid configurations? : Sql server database administration

1042


What language is sql server written in?

1077


How to use group functions in the select clause in ms sql server?

1107


What is sql azure database?

206


What is an example of a foreign key?

1021


What are the different normalization forms?

1157


Which command is used for user defined error messages?

1099


What is the difference between a fill factor of 100 and 0?

1022


What are sql servers used for?

1105


Does sql server 2000 clustering support load balancing?

1021


what is normalization? : Sql server database administration

1154


What do you mean by a dependent functionality in a build?

1191


What is Federation Root Database?

104


What are the approximate numeric data types?

983