The Artima Developer Community
Sponsored Link

Java Buzz Forum
Difference between TRUNCATE vs DELETE Command In SQL - Database Interview Question

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Javin Paul

Posts: 1090
Nickname: javinpaul
Registered: Jan, 2012

Javin Paul is Java Programmer working on Finance domain.
Difference between TRUNCATE vs DELETE Command In SQL - Database Interview Question Posted: Jul 30, 2013 6:48 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Javin Paul.
Original Post: Difference between TRUNCATE vs DELETE Command In SQL - Database Interview Question
Feed Title: Java67
Feed URL: http://www.java67.com/feeds/posts/default?alt=rss
Feed Description: Java and technology tutorials, tips, questions for all programmers.
Latest Java Buzz Posts
Latest Java Buzz Posts by Javin Paul
Latest Posts From Java67

Advertisement
What is difference between truncate and delete command in SQL or when to use truncate vs delete is one of the most frequently asked SQL interview question. Knowledge of this critical command is not only useful on interviews, but also working in database, especially while writing SQL scripts for purging transaction databases. An Incorrect choice of command can result is either very slow process or can even blew up log segment, if too much data needs to be removed and log segment is not enough. That's why it's critical to know when to use truncate and delete command in SQL. In this article, we will first see few differences between them, and based upon them, we should be able to find out when DELETE is better option for removing data or TRUNCATE should be used to purge tables.
Read more ยป

Read: Difference between TRUNCATE vs DELETE Command In SQL - Database Interview Question

Topic: Spring MVC: REST application with CNVR vol. 1 Previous Topic   Next Topic Topic: Java FutureTask Example Program

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use