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 to maintain a fill factor in existing indexes?
How to enter date and time literals in ms sql server?
What is referential integrity and how is it achieved?
How do you implement one-to-one, one-to-many and many-to- many relationships while designing tables?
4 Answers Credit Suisse, GCU, Symphony, TCS,
What will happen if a column containing char type data is changed to the nchar data type?
Explain magic tables in sql server?
What do you think of this implementation? Can this be implemented better?
What is Report Server,Report Manager and Report Builder in SSRS 2005?
How many types of relations are there between dimension and measure group? : sql server analysis services, ssas
what is the Surrogate key?and wt is the diff between Primary key and Surrogate Key?
What are indexes in ms sql server?
How to run sql server 2005 books online on your local system?
Oracle (3259)
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)