Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ORA-00933: SQL command not properly ended

Re: ORA-00933: SQL command not properly ended

From: Daniel Morgan <dmorgan_at_exesolutions.com>
Date: Wed, 25 Sep 2002 20:01:57 GMT
Message-ID: <3D921628.3E18AA4C@exesolutions.com>


res0nlrn wrote:

> delete <objecttype> <objectname> is the proper
>
> > delete telecomm.ias_records
> > *
> > ERROR at line 6:
> > ORA-00933: SQL command not properly ended

Aren't you confusing DELETE with DROP?

DROP <object_type> <object_name> as in

DROP TABLE mytable;

A delete is:

DELETE FROM <table_name>;

And usually with a WHERE clause to keep from dumping the entire contents of the table.

Daniel Morgan Received on Wed Sep 25 2002 - 15:01:57 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US