Solved

Error 933 statement not properly ended

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Access left join query 5 31
Access Query concatenation 12 45
sQL pivot 9 39
MS SQL export CSV & schedule It 9 42
If you find yourself in this situation “I have used SELECT DISTINCT but I’m getting duplicates” then I'm sorry to say you are using the wrong SQL technique as it only does one thing which is: produces whole rows that are unique. If the results you a…
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now