Solved

Error 933 statement not properly ended

Posted on 2009-07-13
5
370 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
  • 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

809 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