sql服务器管理插件
您是否可以为 Microsoft SQL Management Studio 获取某种插件,它可以:
1)帮助您格式化您的sql(配置,以便我们可以使其符合我们的编码指南)
2) 突出显示与我们的编码指南不符的语法
例如,如果一个工具可以格式化 sql,以便所有选择看起来像这样:
SELECT
tbl1.[ColumnX]
tbl2.[ColumnY]
FROM
tbl1
JOIN
tbl2 ON tbl1.[tbl2ID] = tbl2.[ID]
WHERE
tbl2.[ColumnZ] = 'XYZ'
另外,如果该工具可以突出显示存在 ON ERROR 语句的情况,并建议我们使用 TRY CATCH 等。
希望有插件可以直接集成到管理工作室中。
Is there some kind of plug in you can get for Microsoft SQL management studio that will:
1) help you format your sql (configuration, so we can get it to match our codeing guidelines)
2) highlight syntax that does not match our coding guidelines
For example if a tool could format the sql so that all selects look like:
SELECT
tbl1.[ColumnX]
tbl2.[ColumnY]
FROM
tbl1
JOIN
tbl2 ON tbl1.[tbl2ID] = tbl2.[ID]
WHERE
tbl2.[ColumnZ] = 'XYZ'
Also if the tool could highlight situations were there are ON ERROR statements and suggest we use TRY CATCH for example.
Hopefully there are plugins that integrate right into the management studio.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
您看过 Red Gate 的 SQL Prompt Pro 吗? 它具有布局功能,允许您将 SQL 布局为共享样式。
http://www.red-gate.com/products/SQL_Prompt/index.html嗯
Have you looked at SQL Prompt Pro from Red Gate ? It has layout functionality allowing you to layout your SQL to a shared style.
http://www.red-gate.com/products/SQL_Prompt/index.htm
您可能想查看 Toad SQL Server beta
Andy
You might want to check out Toad SQL Server beta
Andy
SSMS 工具是免费的,并且具有代码布局功能。
我不知道有任何适用于 SQL Server 的静态代码分析器。 我倾向于只搜索代码:
SSMS Tools is free and has a code layout feature.
I don't know of any static code analyzers for SQL Server. I tend just to search the code: