Error 933 statement not properly ended

Error 933 says that SQL statement was not properly ended.
Can you help?
Thanks!
Beth
INSERT INTO PACKLIST (SCHEDULED_SHIP_DATE)
VALUES(to_date('08/01/2009', 'mm-dd-yyyy'))
WHERE DRAWING = 'FX111';

Open in new window

ba_trainerAsked:
Who is Participating?
 
mrjoltcolaConnect With a Mentor Commented:
And I encourage you to post to the correct DB zone (Oracle in this case), it will help you get faster answers. Error 933 is an Oracle specific error that really means nothing in "SQL query sytnax" terms. :)

You can post to both zones at once, but SQL Query syntax is shared between all DB zones.
0
 
mrjoltcolaCommented:
Remove the 3rd line it makes no sense in this insert statement.

Are you trying to merge or update existing data, or insert new rows?
0
 
ba_trainerAuthor Commented:
ok, i want to change the scheduled ship date in PACKLIST table but only where the drawing number is
FX111. Should I use ALTER or UPDATE?? Thanks so much!!
0
 
mrjoltcolaCommented:
Use update instead.

UPDATE PACKLIST SET SCHEDULED_SHIP_DATE = to_date('08/01/2009', 'mm-dd-yyyy') WHERE DRAWING = 'FX111';

Open in new window

0
 
ba_trainerAuthor Commented:
Yes, ok .... oracle db zone, got it.
Thanks!!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.