如何格式以对齐在蟾蜍中选择Oracle
我正在使用Toad for Oracle 10.6,当我编写这样的SQL语句时:
select *
from table1,
table2,
table3
where col1 = 3
and col2 = 5
and col3 = 6;
我每次都使用一个选项卡按钮,并且我想得到类似的东西;
select *
from table1,
table2,
table3
where col1 = 3
and col2 = 5
and col3 = 6;
但是从视图/格式化选项我找不到在哪里调整 你能帮我吗? 提前致谢!
I'm using Toad for Oracle 10.6 and when I write a SQL statement like this:
select *
from table1,
table2,
table3
where col1 = 3
and col2 = 5
and col3 = 6;
I use a TAB button after every AND and I'd like to get something like;
select *
from table1,
table2,
table3
where col1 = 3
and col2 = 5
and col3 = 6;
but in View/Formatting Options I can't find where to tune
Could you help me?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您为什么要手动格式化代码?使用内置格式化器;调整其设置,使其满足您的需求。
对于您所描述的内容,如下所示:
格式快捷方式是
< ctrl + shift + shift + f>
。Why would you ever manually format code? Use built-in formatter; adjust its setting so that they fit your needs.
For what you described, it looks like the following:
Formatter shortcut is
<Ctrl + Shift + F>
.