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
Can you create UNIQUE and PRIMARY KEY constraints on computed columns in SQL Server 2000?
Write an sql query to sort a table according to the amounts in a row and find the second largest amount.
what information is maintained within the msdb database? : Sql server administration
What is database replication? What are the different types of replication you can set up in sql server?
What is Online Index Rebuild Operation?
Tell me the difference between clustered and non-clustered index?
What are triggers in ms sql server?
how to delete duplicate rows in sql server2005
7 Answers Cisco, CTS, HCL, IBM,
How to insert new line characters into strings?
Can a cursor be updated? If yes, how you can protect which columns are updated?
what are the critical issues you have resloved in your company
what is isolation level at dead lock?
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)