queues
queue_id num /pk
created dt /default systimestamp
Yields this SQL:
create table queues (
queue_id number generated by default on null as identity
constraint queues_queue_id_pk primary key,
created_dt varchar2(4000 char) default on null 'systimestamp'
);
Note that systimestamp is treated as a string, when it should be a function. I see sysdate works fine in the version of QS that ships with APEX 23.2, so some code was added to handle that. However, that seems to be broken on the current version here: https://krisrice.io/quick-sql-standalone.html
An allow list approach will probably not scale anyway, especially considering things like my_owner.my_sequence.nextval.
I recommend adding a new directive (e.g., /defaultraw), which would not wrap the words(s) after it as a string.
This model:
Yields this SQL:
Note that
systimestamp
is treated as a string, when it should be a function. I seesysdate
works fine in the version of QS that ships with APEX 23.2, so some code was added to handle that. However, that seems to be broken on the current version here: https://krisrice.io/quick-sql-standalone.htmlAn allow list approach will probably not scale anyway, especially considering things like
my_owner.my_sequence.nextval
.I recommend adding a new directive (e.g.,
/defaultraw
), which would not wrap the words(s) after it as a string.