Answers for "oracle sql trunc"

SQL
2

oracle sql truncate table

-- Quick, no possible rollback
TRUNCATE TABLE my_table;
-- With rollback
DELETE FROM my_table;
COMMIT;
Posted by: Guest on January-23-2021
1

trunc sql

SELECT TRUNC(TO_DATE('27-OCT-92','DD-MON-YY'), 'YEAR')
  "New Year" FROM DUAL;
 
New Year
---------
01-JAN-92
Posted by: Guest on November-22-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language