I am trying to format TIMESTAMPwith 6 digits of the fractional part. 'FF'seems to print all available digits, even if I explicitly declare TIMESTAMP(6):
DECLARE
t TIMESTAMP(6);
BEGIN
t := SYSTIMESTAMP;
dbms_output.put_line( TO_CHAR(t, 'FF') );
END;
prints
912387000
Is there any way to get
912387
instead (without using SUBSTRINGor something like that)?
source
share