Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Error 933 statement not properly ended

Posted on 2009-07-13
5
Medium Priority
?
375 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In database programming, custom sort order seems to be necessary quite often, at least in my experience and time here at EE. Within the realm of custom sorting is the sorting of numbers and text independently (i.e., treating the numbers as number…
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

719 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