Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> What's the purpose of this SQL statement?
Hi:
I don't know what is the gain of this SQL statement?
select TO_DATE(TO_CHAR(sysdate, 'dd-MON-yy'), 'dd-MON-yy') into v_date from dual;
Why not just use the following?
select sysdate into v_date from dual;
--
Best regards,
Received on Tue Jul 21 1998 - 18:11:39 CDT
![]() |
![]() |