TaoK / PoorMansTSqlFormatter

A small free .Net and JS library (with demo UI, command-line bulk formatter, SSMS/VS add-in, notepad++ plugin, winmerge plugin, and demo webpage) for reformatting and coloring T-SQL code to the user's preferences.
http://www.architectshack.com/PoorMansTSqlFormatter.ashx
GNU Affero General Public License v3.0
947 stars 266 forks source link

mimifying code upper cases SQL keywords #277

Open m-tyler opened 2 years ago

m-tyler commented 2 years ago

If I mimify this statement.

select * from TABLE_NAME_A A inner join TABLE_NAME_B B on A.COLUMN = B.COLUMM left join TABLE_NAME_C C on A.COLUMN = C.COLUMN where C.COLUMN is not null.

The following keywords are uppercased, INNER, JOIN, NULL. Other keywords I have seen upper cased are UNION, UNION ALL. There might be more but this is all I have documented from my query work.

the mimify has no option for case conversion so I would expect it to leave code alone.