Print Thread
The beautifier caused an error
#65854 09/05/24 09:43 AM
Joined: Mar 2012
Posts: 27
Y
Yeats Offline OP
Member
OP Offline
Member
Y
Joined: Mar 2012
Posts: 27
[Linked Image]

SQL Query
select sysdate, row_number() over(partition by sysdate order by case when trunc(sysdate) >= trunc(sysdate) then '0' else '1' end) as rn
  from dual

The beautifier caused an error when i try to beautify the sql above.

Attached Files
QQ20240905-174244.png (16.78 KB, 40 downloads)
Re: The beautifier caused an error
Yeats #65856 09/06/24 08:50 AM
Joined: Aug 1999
Posts: 22,634
Member
Offline
Member
Joined: Aug 1999
Posts: 22,634
Analytical functions are not yet supported by the PL/SQL Beautifier. 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.816s Queries: 15 (0.363s) Memory: 2.4988 MB (Peak: 3.0399 MB) Data Comp: Off Server Time: 2025-05-21 15:10:14 UTC
Valid HTML 5 and Valid CSS