SMO is open source! | https://github.com/microsoft/sqlmanagementobjects |
Golang version of sqlcmd | https://github.com/microsoft/go-sqlcmd |
SMO is open source! | https://github.com/microsoft/sqlmanagementobjects |
Golang version of sqlcmd | https://github.com/microsoft/go-sqlcmd |
#oss #sqlcmd tool written in #golang - very nice improvement over the old sqlcmd tool!
The new sqlcmd, CLI for SQL Server and Azure SQL (winget install sqlcmd / sqlcmd create mssql / sqlcmd open ads) - GitHub - microsoft/go-sqlcmd: The new sqlcmd, CLI for SQL Server and Azure SQL (wi...
I have two performance tips for #sqlserver #SSMS users.
1. If you are working with a very busy database where backups or deletes are holding locks and SSMS can't expand OE nodes or open property sheets, use this registry hack to put SMO queries in Read Uncommitted mode. https://guibubbles.wordpress.com/2017/06/05/ssms-and-smo-query-isolation/
2. When opening Object Explorer to an Azure SQL Database instance as a non-admin user is taking a long time, set your "Connection Timeout" value to a small number like 10 or even 5 seconds. This will cause some background connections to fail more quickly and unblock the real work.
Hear me out on this one. #SSMS #SSMS19
Checking for open transaction before closing query windows is helpful for terrestrial installations of SQL Server.
Checking Azure DB/MI for open transactions, so very not helpful. (Not helpful because of the blocking window per tab that takes 15 seconds to feels like forever to check which is bad for people like me who have easily 30+ open tabs at a time)
So, why not both?