Hi
The statement below does not throw ParseException when going through SQLServerStatementParser:
select
TOP 10
*
from (
select
DISTINCT
DATE_FORMAT( col1, '%Y%m%d' ) AS col1
from table1
) xx
3条答案
按热度按时间ma8fv8wu1#
Which version?
6kkfgxo02#
Tested with Druid version 1.0.16
against sql server 2012
ztyzrc3y3#
apologies I pressed the wrong button.