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
What are partitioned views and distributed partitioned views?
Explain about SQL server 2005?
What are the different ways of moving data/databases between servers and databases in SQL Server?
what is a stored procedure and trigger?
How to test subquery results with the exists operator?
What are the advantages of using a stored procedure?
How can sql injection be stopped? : sql server security
Can you move the resources after pausing the node? : sql server database administration
How can I check if a view exists in a sql server database?
How to override dml statements with triggers?
Explain filtered indexes benefits?
Which virtual table does a trigger use?