I can only use specific basedate value(YYYYMMDD) at my query.
I'd like to insert data with timestamp but just replaced with that date
INSERT INTO table (field1, field2, regTs)
VALUES (:field1, :field2, systimestamp);
from this query, how can I apply :basedate + systimestamp's hour, minute, second, microsecond
First convert date to string using To_Char and concatenate time string with date string, now you can use To_Date function to convert the datetime string into timestamp.
Ex:
Hope this helps.