Convert an Oracle SQL DATE to a STRING in the form CCYYMMDD


/ Published in: SQL
Save to your folder(s)

This Oracle SQL snippet converts an Oracle SQL DATE to a STRING in the form CCYYMMDD.


Copy this code and paste it in your HTML
  1. TO_CHAR(date1,'YYYYMMDD')

Report this snippet


Comments


You need to login to view comments.