Can you reorder columns in SSMS grid output without rewriting the query? A trick from Vinod Kumar’s user group session that surprised me.
SQL SERVER – Hidden SSMS Gem: Find Dialog’s Unknown Functionality
At a Bangalore user group meet, Vinod Kumar showed a Hidden SSMS Gem: something the Find dialog can do that I never knew in years of using it.
SQL SERVER – How to Find Out When Your SQL Login Will Expire?
A client wanted a script to show when each SQL login will expire. LOGINPROPERTY makes it easy on SQL 2008 onwards. Here is the query I used.
Identify Used Space in Log File- Interview Question of the Week #090
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.
PowerShell – Reading Tables Data Using Script
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.
SQL SERVER – How to Join a Table Valued Function with a Database Table
I use APPLY to Join a Table Valued Function with rows from another table. The example passes each customer’s delivery city.







