Home » SQL & PL/SQL » SQL & PL/SQL » QUERY...
QUERY... [message #7985] Mon, 21 July 2003 04:14 Go to next message
Mubeen
Messages: 44
Registered: February 2003
Member
HI ALL,

HERE IS MY QUERY:-

ALTER TABLE EMP SET HIREDATE = '22/FEB/1981' WHERE EMPNO = 7521;

IT IS GIVING THE FOLLOWING ERROR

ORA-02000: missing UNUSED keyword

ANY HELP WILL BE APPRECIATED.

THANX & REGARDS

MUBEEN.
Re: QUERY... [message #7986 is a reply to message #7985] Mon, 21 July 2003 05:04 Go to previous messageGo to next message
jigar
Messages: 74
Registered: July 2002
Member
I guess you want to update the column data...
if yes, use update statement rather than alter
Re: QUERY... [message #8003 is a reply to message #7985] Mon, 21 July 2003 23:40 Go to previous message
Zia Khattak
Messages: 22
Registered: July 2003
Junior Member
SQL> update emp set HIREDATE = '22/FEB/1981' WHERE EMPNO = 7521;


1 row updated.
Previous Topic: Problem in retrieving top 5 emp
Next Topic: how to send email with National Characters
Goto Forum:
  


Current Time: Fri Apr 19 08:56:43 CDT 2024