dbTalk Databases Forums  

Difference between DELETE and DELETE FROM statement

comp.databases.oracle.misc comp.databases.oracle.misc


Discuss Difference between DELETE and DELETE FROM statement in the comp.databases.oracle.misc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ninjali
 
Posts: n/a

Default Difference between DELETE and DELETE FROM statement - 08-02-2009 , 10:48 AM






Hi,

Are there any differences between DELETE and DELETE FROM statements?
Can they be used interchangably? For example"

delete from mytable where ....;

delete mytable where ....;


Thanks in advance.

Nick Li

Reply With Quote
  #2  
Old   
Michel Cadot
 
Posts: n/a

Default Re: Difference between DELETE and DELETE FROM statement - 08-02-2009 , 01:00 PM






"Ninjali" <nickli2000 (AT) gmail (DOT) com> a écrit dans le message de news:
7c6e2c4e-ef5e-4e6b-8ac6-0d7e69552160...oglegroups.com...
Quote:
Hi,

Are there any differences between DELETE and DELETE FROM statements?
Can they be used interchangably? For example"

delete from mytable where ....;

delete mytable where ....;


Thanks in advance.

Nick Li

What does the documentation says?

http://download.oracle.com/docs/cd/B...5.htm#i2117787

Regards
Michel

Reply With Quote
  #3  
Old   
kevin
 
Posts: n/a

Default Re: Difference between DELETE and DELETE FROM statement - 08-02-2009 , 11:22 PM



On Aug 3, 2:00*am, "Michel Cadot" <micadot{at}altern{dot}org> wrote:
Quote:
"Ninjali" <nickli2... (AT) gmail (DOT) com> a écrit dans le message de news:
7c6e2c4e-ef5e-4e6b-8ac6-0d7e69552... (AT) d23g2000vbm (DOT) googlegroups.com...
| Hi,
|
| *Are there any differences between DELETE and DELETE FROM statements?
| Can they be used interchangably? For example"
|
| *delete from mytable where ....;
|
| *delete mytable where ....;
|
|
| *Thanks in advance.
|
| *Nick Li
|

What does the documentation says?

http://download.oracle.com/docs/cd/B.../b14200/statem...

Regards
Michel
Answer is: they are interchangably, you can delete rows with any of it.

Reply With Quote
  #4  
Old   
Ninjali
 
Posts: n/a

Default Re: Difference between DELETE and DELETE FROM statement - 08-03-2009 , 08:34 AM



On Aug 3, 12:22*am, kevin <majun... (AT) hotmail (DOT) com> wrote:
Quote:
On Aug 3, 2:00*am, "Michel Cadot" <micadot{at}altern{dot}org> wrote:





"Ninjali" <nickli2... (AT) gmail (DOT) com> a écrit dans le message de news:
7c6e2c4e-ef5e-4e6b-8ac6-0d7e69552... (AT) d23g2000vbm (DOT) googlegroups.com...
| Hi,
|
| *Are there any differences between DELETE and DELETE FROM statements?
| Can they be used interchangably? For example"
|
| *delete from mytable where ....;
|
| *delete mytable where ....;
|
|
| *Thanks in advance.
|
| *Nick Li
|

What does the documentation says?

http://download.oracle.com/docs/cd/B.../b14200/statem...

Regards
Michel

Answer is: they are interchangably, you can delete rows with any of it.- Hide quoted text -

- Show quoted text -

Thanks for your help.

Now I can save some typing.

Nick Li

Reply With Quote
  #5  
Old   
David Portas
 
Posts: n/a

Default Re: Difference between DELETE and DELETE FROM statement - 08-04-2009 , 04:08 PM



On 3 Aug, 14:34, Ninjali <nickli2... (AT) gmail (DOT) com> wrote:
Quote:
On Aug 3, 12:22*am, kevin <majun... (AT) hotmail (DOT) com> wrote:



Answer is: they are interchangably, you can delete rows with any of it.


Thanks for your help.

Now I can save some typing.

Or you could write standard SQL which is DELETE FROM tbl, not DELETE
tbl.

--
David Portas

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.