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
Why does sql studio use a single registered database repository? : sql server management studio
What is hierarchy, what are its types and difference between them? : sql server analysis services, ssas
How to select some specific rows from a table in ms sql server?
How do I view a stored procedure in sql server?
What is indexed views? plz explain with example?
Explain query editor regions
What is molap and its advantage? : sql server analysis services, ssas
Is INSTEAD OF trigger directly applicable to Table ?
Can foreign key be duplicate?
What is normalization of database? What are its benefits?
Can you leave a union at any time?
What is sql server programming?
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)