Home
About Us
Contact Us
Bookmark
Saved Bookmarks
Current Affairs
General Knowledge
Chemical Engineering
UPSEE
BSNL
ISRO
BITSAT
Amazon
ORACLE
Verbal Ability
→
Infosys Interview Questions
→
Frequently Asked Questions in Infosys Interview Questions
→
Differentiate between TRUNCATE and DELETE commands...
1.
Differentiate between TRUNCATE and DELETE commands in SQL.
Answer»
TRUNCATE
DELETE
It is used to remove all records from a database table
It is used to delete specified records(
ONE
or more) from a database table
It is a Data Definition Language(DDL) command
It is a Data Manipulation Language(
DML
) command
Faster than DELETE command
Slower compared to TRUNCATE command
Cannot be
APPLIED
for indexed views as it
WORKS
only on tables
Can be applied for indexed views
Show Answer
Discussion
No Comment Found
Post Comment
Related InterviewSolutions
Write a C++ program to check whether a number is palindrome or not.
Explain different levels of programming languages.
Differentiate between white box and black box testing.
What is a frame in HTML?
What is DLL and EXE file extension?
Explain about Agile model.
What are the disadvantages of the Waterfall model?
What is SDLC(Software Development Life Cycle)?
What is meant by a null pointer?
Explain pointers in C++.
Reply to Comment
×
Name
*
Email
*
Comment
*
Submit Reply
Your experience on this site will be improved by allowing cookies. Read
Cookie Policy
Reject
Allow cookies