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 will be the value of @@fetch_status if a row that was a part of the cursor resultset has been deleted from the database after the time the stored procedure that opened the cursor was executed?
What is the minimum recommended amount of ram for sql server 2012 enterprise?
How do I find my localdb version?
How do I create a stored procedure in dbml?
how to find out the repeated value from table using groupby function?
what is the difference between sql query and google query?
What is difference between count (*) and count column?
How to use values from other tables in update statements in ms sql server?
What is nolock hint in sql server 2008
Can you pass expressions to stored procedure parameters?
Explain trigger and its types?
Can a rule be bound to any column of any data type?