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
How can we check the sql server version?
What is merge?
What is mean by candidate key?
How will you decide the active and passive nodes?
How and why use sql server?
How much space does sql server 2016 take?
What is the recommended total size of your memory optimized tables?
What is replication and database mirroring?
What is database mirroring?
When is update_statistics command used?
What is the purpose of the master database?
Define outer join?
Does a sql server 2005 select statement require a from?
What is query optimizer in sql server?
How to create an index on an existing table in ms sql server?