Question: How to identify Used Space in Log File?
Answer: Use following command to display used log file size and total used space in the log file.
Question: How to identify Used Space in Log File?
Answer: Use following command to display used log file size and total used space in the log file.
Read-SqlTableData is a PowerShell cmdlet for reading tables data from SQL Server without writing a query. Here is how I tried it on my box.
I use APPLY to Join a Table Valued Function with rows from another table. The example passes each customer’s delivery city.
How I helped a customer get better performance by setting the AUTO_CLOSE Database Option to OFF, and why this setting hurts busy databases.
SET NOCOUNT ON stops SQL Server from sending a rows affected message after every statement. This post tests what it changes and what it doesn’t: @@ROWCOUNT, scope inside a procedure, timing and the text that sp_updatestats prints. It also covers client programs that depend on the count.
A change in date format shows up when you apply LEFT to GETDATE: the date goes from year first to month name first. This puzzle explains the implicit conversion behind it, how language settings change the text, and how to get the date you want on purpose.
A reader asked how to insert or select copyright special characters in SSMS. The answer is ALT codes, like ALT + 0169 for the copyright sign, plus two more.