如何在SQL Server中选择非连续行

问题描述 投票:1回答:1

在Microsoft文本产品(如Word和One Note)中,可以通过按住ALT并选择所述行来选择彼此不相邻的多行。有没有一种方法可以执行此SQL,而无需不断地剪切和粘贴内容?例如:

enter image description here

我想同时运行两个查询,但不能不让它们彼此相邻移动

sql-server localdb
1个回答
0
投票

在SSMS和Visual Studio的最新版本中,您可以按住Ctrl + Alt并用鼠标选择不连续的区域。

以下屏幕截图使用的是SSMS 18.5

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.