| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.server -> Converting Date to char inPL/SQL?
Hi
I'd like to convert a date variable to a char/varchar2 variable. Here's what I tried:
datumold DATE;
cDatumold VARCHAR2;
cDatumold = TO_CHAR(datumold,'DD.MM.YYYY');
I also tried without a mask:
cDatumold = TO_CHAR(datumold);
what's wrong here?
Bye
Frank
Received on Wed Mar 17 1999 - 08:13:45 CST
![]() |
![]() |