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
What do you mean by an execution plan?
What is user-defined inline table-valued function?
What are the different types of replication you can set up in sql server?
What is identity?
How to check parameter value in stored procedure sql server?
What the different types of Replication and why are they used?
Who is the owner of a schema in ms sql server?
Explain what are magic tables in sql server?
What is apply operator in sql?
What is 'write-ahead log' in sql server 2000 ?
What is log in sql server?
Explain transaction isolation levels in sql server?
Insert syudents details in table.Current system date &time insert into joining time.How do insert?( in sysdate only return current system date how do add time?)
How to select all columns of all rows from a table with a select statement in ms sql server?
How to return the date part only from a sql server datetime datatype?