PoorMansTSqlFormatter
PoorMansTSqlFormatter copied to clipboard
"Enable Keyword Standardization" option should be better labelled
The "Enable Keyword Standardization" option on poorsql.com ("keywordStandardization" in the library) is misleadingly-named: It should more clearly reflect:
- The fact that it is only safe for T-Sql, not for other variants (eg MySql)
- The fact that it "standardizes" to more common forms of keywords in T-Sql, rather than more standard/compatible forms. For example, "NVarChar" is more commonly used in T-Sql, but "National Character Varying" is more standard / more cross-compatible.
Furthermore, given the reasonably wide demographic of users, it does not make sense to enable this option by default, as it can "damage" MySql code. The the option should be disabled by default on PoorSql.com, as it is in the library.
The default for poorsql.com has been changed, updating description to target naming primarily.