Reputation: 6374
When I issue a query like select * from city;
using oracle sql developer in mac I get the output that is not aligned and it is very hard to read. How do I get the grid view and set it as default?
Upvotes: 3
Views: 9328
Reputation: 22467
Sounds like you're getting the script output. You can have that formatted nicely by using SET SQLFORMAT ansiconsole, we'll make the columns line up as nice as possible based on the size of the display.
But if you want the data back in a grid, use Ctrl+Enter or F9 or the first execute button in the toolbar to execute.
This will get you the output in a grid, like this:
I talk about both executing as a script or statement here.
Upvotes: 4
Reputation: 960
If your issue is with formatting, you may want to look at this link
If your issue is with records not getting inserted, please note these.
Hope this helps.
Upvotes: 1