Results 1 to 19 of 19

Thread: difference between delete and truncate

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I am the DON
    Join Date
    Apr 2006
    Answers
    99

    Lightbulb Re: difference between delete and truncate

    Simply to say -

    DML statements (Delete) can be rollbacked where DDL (Truncate) are autocommit.

    Sanghala

    If you are satisfied with my reply. Please click “Thanks” button which increases the reputation and can serve you better.

  2. #2
    Contributing Member
    Join Date
    May 2007
    Answers
    60

    Re: difference between delete and truncate

    'truncate' requires no condition bcoz it deletes the total table once where as 'delete' requires condition bcoz it deletes the data row by row.....


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact