When we are using this query to shrink the log file,what
exactly it will execute internally? Do we lose any data
when we run this script? which data it will truncate in the
log file and where it is saved. Please let me know...
USE DatabaseName
GO
DBCC SHRINKFILE(<TransactionLogName>, 1)
BACKUP LOG <DatabaseName> WITH TRUNCATE_ONLY
DBCC SHRINKFILE(<TransactionLogName>, 1)
GO
how do u do Performance tunning ?
1 Answers Infodat Technologies, Satyam,
diffrence between Cluster Index and non Cluster Index
How to perfor If the table running time is taking 2hours and table is having 10 rows in it?
How to use column default values in insert statements in ms sql server?
can anyone explain me the concept of Serialization in Detail and Clear? plz its urgent i have interview on friday (15th feb)
What are the High-Availability solutions in SQL Server and differentiate them briefly?
What do you understand by a view? What does the with check option clause for a view do?
Can we use max in where clause?
How does stuff differ from the replace function?
Can coalesce return null?
How do I setup a sql server database?
What are commonly used mssql functions in php?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)