Print Thread
Beautifier MERGE options for ON clause?
#39368 01/27/11 03:52 PM
Joined: Jan 2003
Posts: 88
A
andyh Offline OP
Member
OP Offline
Member
A
Joined: Jan 2003
Posts: 88
Hi,

Is it possible to alter the way in which beautify deals with the ON clause in MERGE? E.G:

MERGE INTO gtt_aupr_upload g
USING (SELECT *
FROM tanker_shipments) t
ON (g.berthing_slot_date_ts_tz = t.berthing_slot_date AND g.lng_tanker_name = t.aup_tanker_name AND g.terminal_user_name = t.aup_customer_name)
WHEN MATCHED THEN g.tash_id = t.id

I'd really like the ON to be broken at the 'AND's... or anything that doesn't just end up as one long line.


Andy
Re: Beautifier MERGE options for ON clause?
andyh #39383 01/28/11 10:16 AM
Joined: Aug 1999
Posts: 22,221
Member
Offline
Member
Joined: Aug 1999
Posts: 22,221
No, there is currently no option that controls this. This is on the list of enhancement requests.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.027s Queries: 15 (0.007s) Memory: 2.4966 MB (Peak: 3.0394 MB) Data Comp: Off Server Time: 2024-05-21 21:04:40 UTC
Valid HTML 5 and Valid CSS