Solved

Error 933 statement not properly ended

Posted on 2009-07-13
5
372 Views
Last Modified: 2012-05-07
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

0
Comment
Question by:ba_trainer
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24841184
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
 

Author Comment

by:ba_trainer
ID: 24841303
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
 
LVL 40

Expert Comment

by:mrjoltcola
ID: 24841331
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
 
LVL 40

Accepted Solution

by:
mrjoltcola earned 500 total points
ID: 24841357
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
 

Author Closing Comment

by:ba_trainer
ID: 31602897
Yes, ok .... oracle db zone, got it.
Thanks!!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …
Suggested Courses

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question