Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to align query in sqldeveloper 4.0?

I have query written in sqldeveloper but I don't know how to align or format the query in neat order.

P.S: I don't know whether this question can be asked here. Kindly answer if any knows the answer here.

like image 562
Emmanuel Angelo.R Avatar asked Nov 12 '14 13:11

Emmanuel Angelo.R


People also ask

How do I change the format of SQL Developer?

You can specify different output formats using SET sqlformat <format> : SET sqlformat ansiconsole; Set that prior to your sql query and you should get a nicer format. If you look into the sqlformat option, there are others you can use, but ansiconsole is likely the one you want.

How do I align a query in Toad?

TOAD FOR ORACLE To format a statement Select the statement you want to select and click » on the Edit toolbar. To format an entire script Click » on the Edit toolbar. Tip:You can also right-click the script and select Formatting Tools | Format Code.

How do I align text in SQL Developer?

I have used Ctrl + f7 to format or align my query in sqldeveloper 4.7 with reference to the above comment from leo. Show activity on this post. Just right click, select FORMAT option, or, use Ctrl + f7 shortcut to format. If you have not set your own formatting rules, then it would take the default formatting.

How do I arrange a query in SQL Developer?

You can press CTRL+F7 (on Windows) to format the SQL code in your current Code Editor window to update the formatting of the code based on any format changes you have made. There is no shortcut set on Mac for formatting SQL code. You can right-click in the Editor and select Format.


1 Answers

I have used Ctrl + f7 to format or align my query in sqldeveloper 4.7 with reference to the above comment from leo.

like image 74
Emmanuel Angelo.R Avatar answered Sep 28 '22 01:09

Emmanuel Angelo.R