Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124
Physical Address
304 North Cardinal St.
Dorchester Center, MA 02124

PoorMansTSqlFormatter 是一款免費且開源的 T-SQL 格式化工具,其主要功能是使 SQL 代码更易于阅读、理解和维护。它提供了多種方式來幫助你整理和格式化 T-SQL 代码,包括:
SELECT、FROM、WHERE)之間插入斷行,提高可讀性。CASE 語句、BETWEEN 條件和 IN 列表,使邏輯更清晰。JOIN ON 子句分成多行。oorMansTSqlFormatter 是一個功能實用且靈活的工具,可以幫助開發人員輕鬆地格式化 T-SQL 程式碼,提高程式碼的可讀性和可維護性,並促進團隊之間的協作。
網址: https://learn.microsoft.com/zh-tw/ssms/download-sql-server-management-studio-ssms
下載 SQL Server Management Studio (SSMS) 20.2.1
網址: https://github.com/TaoK/PoorMansTSqlFormatter/releases/tag/1.6.16
檔案: PoorMansTSqlFormatterSSMSPackage.Setup.1.6.16.msi
HKEY_CURRENT_USER\SOFTWARE\Microsoft\SQL Server Management Studio19.0_IsoShell_Config, if you have SSMS 20 installed you will find 20.0_IsoShell_Config18.0_IsoShell_Config19.0_IsoShell_Config or 20.0_IsoShell_ConfigCommon7/IDE folder (C:\Program Files (x86)\Microsoft SQL Server Management Studio 20\Common7\IDE) and open the ssms.exe.config file<assemblyBinding> Add :<dependentAssembly>
<assemblyIdentity name="Microsoft.VisualStudio.Shell.12.0" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
<bindingRedirect oldVersion="2.0.0.0-15.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>

修改 ssms.exe.config

執行 SSMS
