I usually create my SQL tables and stored procedures by writing a script inside Visual Studio. This works really well for me except for one simple annoyance: VS puts blue boxes around all the SQL queries and data-manipulation commands. The purpose of these boxes is to draw undue attention to the fact that VS thinks the query can be edited in “Query Builder.”
我通常通过在Visual Studio中编写脚本来创建我的SQL表和存储过程。除了一个简单的烦恼之外,这对我来说非常好用:VS在所有SQL查询和数据操作命令周围放置蓝框。这些框的目的是过度关注VS认为查询可以在“查询生成器”中编辑的事实。
I don’t want to use Query Builder. I just want a nice, clean script that reflects my fantastic vision of what the DB engine should do. Blast it, Jim, I’m a programmer not a Microsoft Access hobbyist!
我不想使用Query Builder。我只想要一个漂亮,干净的脚本,它反映了我对数据库引擎应该做什么的奇妙想法。爆炸吧,吉姆,我是程序员而不是微软Access的爱好者!
I do, however, like the syntax highlighting and source-control integration that VS provides.
但是,我确实喜欢VS提供的语法高亮和源代码控制集成。
So my question is this: How do I turn off the annoying blue boxes?
所以我的问题是:如何关闭烦人的蓝盒子?
2 个解决方案
#1
1
Set the color of the SQL query outline to the same color as the background.
将SQL查询大纲的颜色设置为与背景相同的颜色。
#2
6
Open Visual Studio Tools --> options --> Database Tools --> General. Uncheck "Enable DML Markers"
打开Visual Studio工具 - >选项 - >数据库工具 - >常规。取消选中“启用DML标记”
#1
1
Set the color of the SQL query outline to the same color as the background.
将SQL查询大纲的颜色设置为与背景相同的颜色。
#2
6
Open Visual Studio Tools --> options --> Database Tools --> General. Uncheck "Enable DML Markers"
打开Visual Studio工具 - >选项 - >数据库工具 - >常规。取消选中“启用DML标记”