简体   繁体   English

SQL Server Management Studio中JOIN的Intellisense

[英]Intellisense for JOINs in SQL Server Management Studio

In SQL Server Management Studio (SSMS) is there an option to enable intellisense auto-completion for JOINs? 在SQL Server Management Studio(SSMS)中是否有为JOIN启用智能感知自动完成的选项?

For example, if I type: 例如,如果我输入:

SELECT * FROM Employee INNER JOIN _

at this point I would like intellisense to give me the tables related to Employee, and when I pick one to fill in the appropriate join condition, based on the foreign key relationships. 在这一点上,我想intellisense给我与Employee相关的表,当我选择一个来填写适当的连接条件,基于外键关系。

LinqPad does this for LINQ queries, which is great. LinqPad为LINQ查询执行此操作,这非常棒。 I would like the same in SSMS. 我想在SSMS中也一样。 I am using SqlServer 2012. 我正在使用SqlServer 2012。

Microsoft still have a long way to go for their implementation of intellisense to catch up to Red-Gate SQLPrompt. 微软仍然有很长的路要走他们的intellisense实现以赶上Red-Gate SQLPrompt。 Even in SQL 2012 it is at a bare minimum. 即使在SQL 2012中,它也是最低限度的。

Red-Gate SQL Prompt has merged with Red-Gate SQL Refactor which means that in addition to intellisense you get a number of features to help with code layout/format, find unused variables, summarise your scripts etc. Red-Gate SQL Prompt已与Red-Gate SQL Refactor合并,这意味着除了intellisense之外,您还可以获得许多功能来帮助解决代码布局/格式,查找未使用的变量,汇总脚本等。

When you factor in the ability to attach snippets of code to acronyms then for me its a killer app. 当你考虑将代码片段附加到首字母缩略词的能力时,那么对我来说它是一个杀手级的应用程序。

If you have the money to buy SQLPrompt I would certainly recommend it. 如果你有钱买SQLPrompt我肯定会推荐它。

I use devart's SQL Complete. 我使用devart的SQL Complete。 As of this writing, it is half the price of Red Gate's SQL Prompt and has a similar feature-set. 在撰写本文时,它只是Red Gate的SQL Prompt价格的一半,并且具有类似的功能集。 They have demo of their auto JOIN completion here: http://www.devart.com/dbforge/sql/sqlcomplete/images/join-clause-auto-generation.gif . 他们在这里有自动JOIN完成演示: http//www.devart.com/dbforge/sql/sqlcomplete/images/join-clause-auto-generation.gif

They offer a free version that is slightly better than SSMS 2008's Intellisense, but it does not include the auto JOIN suggestions of their paid versions. 它们提供的免费版本略好于SSMS 2008的Intellisense,但它不包括付费版本的自动JOIN建议。

Unfortunately, I have yet to run across a free tool offering what you seek. 不幸的是,我还没有遇到过你所寻求的免费工具。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 IntelliSense 在 SQL Server Management Studio 中不工作 - IntelliSense is not working in SQL Server Management Studio SQL Server 2008 Management Studio Intellisense无法正常工作 - SQL Server 2008 Management Studio Intellisense not working SQL Server 2012 Management Studio Intellisense无法通过VPN工作 - SQL Server 2012 Management Studio Intellisense not working over VPN SQL Server Management Studio 2012 IntelliSense(已刷新的缓存) - SQL Server Management Studio 2012 IntelliSense (already refreshed cache) 如何自动刷新SQL Server Management Studio智能缓存? - How to automatically refresh the SQL Server Management Studio intellisense cache? 为什么Intellisense在SQL Server Management Studio 2008 R2中不起作用? - Why Intellisense doesn't work in SQL Server Management Studio 2008 R2? SQL Server Management Studio 2008 R2开发人员版intellisense无法正常工作 - SQL Server Management Studio 2008 R2 Developer Edition intellisense not working 是否有任何技巧允许在早期版本的SQL Server中使用Management Studio(版本2008)IntelliSense功能? - Is there any trick that allows to use Management Studio's (ver. 2008) IntelliSense feature with earlier versions of SQL Server? 为什么我的表没有显示在 SQL Server Management Studio 的智能感知中? - Why are my tables not showing up in SQL Server Management Studio's intellisense? SQL Server 2008管理工作室intellisense自动刷新(不通过菜单或键盘快捷键手动) - SQL Server 2008 management studio intellisense auto refresh (not manually through menu or Keyboard shortcut)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM