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 type of Index will get created after executing the above statement?
What are the steps to follow to configure SQL*Net?
How to set the current database in ms sql server?
What do you mean by an execution plan?
Do you know query execution plan?
What is the difference between distinct clause and group by clause?
How to rename an existing column with sql server management studio?
How will you find out if there are expensive SQL statements running or not?
How can you set the threshold at which sql server will generate keysets asynchronously?
What are the requirements on sql server network connections?
What will happen when a Rollback statement is executed inside a trigger?
1 Answers Flextronics, Hexaware,
When would you use the stored procedures or functions?