answersLogoWhite

0


Best Answer

delete is used to destroy a single object. It will call the destructor of the object and free the memory. delete[] is used to free the memory which was allocated using new []. delete [] will call the destructor for each object in array and free the memory. ________________ As far as I can tell, they aren't delete bit different.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

Delete: When you use Delete command, it deletes all the data or some specific data from a table. It will not release the memory space used by those data. For that you can rollback the deleted data.

Truncate: When you use Truncate command, it deletes all the data from a table and also releases the memory space occupied by those data. For that you can not rollback the data, when a table is truncated.

*******************

Truncate: Cut off/cut short leaving a remnant.

Delete: Remove completley.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Normally a delete is a piece of text you want to remove permanently. When you cut a piece of text you leave yourself the option of pasting it in another place. So you store it in memory for the time being.

I find cut and paste most useful when I write. I tend to write the conclusion of a paragraph first. Then I write the introduction. Then I write the body. Then I can cut the first sentence and move it to the last sentence in the paragraph. My paragraph then follows a logical progression. Later when the writing gets cold, I come back and do more cutting and pasting and also do some deleting where the logic does not make sense or does not really follow a logical progression. Cut is to cut and paste. Delete carries out the garbage.

This answer is:
User Avatar

User Avatar

Wiki User

14y ago

Cut is similar to copy, the only differencec being that it deletes your work while it copies. Therefore, you can remove your work from one place to the other with copying and deleting. Deleting itself will remove your work from your document without saving or copying.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between delete and delete?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between format and delete?

What is the difference between delete and format?


What is the difference between delete and delete sheet command?

delete command would delete selected word,line, paragraph or even sheet. Whereas delete sheet command would delete the whole sheet


What is difference between delete file in DOS and delete file in Windows?

i don't know the difference but what i know is ... deleted file from MS-DOS is never go to the recycle bin. Thanks !


Difference between the delete key an the back space?

The backspace key deletes to the left of the cursor, and the delete key deletes to the right of the cursor.


What is the difference between backspace and delete key?

The delete key removes the character above or to the right of the cursor. The backspace removes the character to the left of the cursor.


What is the difference between pressing the Delete key or the left arrow key in the middle of a line of text?

Delete key deletes any amount of text. The left arrow key only moves the I beam


What is the difference between executenonquery and executequery?

ExecuteQuery() :To Execute SELECT StatementExecuteNonQuery() :To Execute Other Than Select Statements (INSERT/UPDATE/DELETE)


Difference between DEL key and Backspace Key?

DEL key (delete key) gets rid of the things on front of the cursor. Backspace gets rid of things behind the cursor.DEL key is used to delete files


What is the Difference between transaction and query?

The query is simple set of insert,update,delete statement where as transaction is a set of statement which follows ACID properties.


What is the difference between delete and truncate statement in SQL Database?

Delete statement deletes only the data from the table but you can apply some condition and only part of the data can be deleted. Truncate empties entire table. Drop deletes the table itself.


What difference between dml and ddl?

The basic difference between DDL and DML is the commands they provide . The DDL provides statement for the creation and deletion of tables, indexes, views etc. while the DML provides statements to enter, update, delete and perform complex queries on these tables.


What is the difference between truncate and delete in terms of a database transaction?

Once data is truncated it can not be rolled back (recovered). However, data can be rolled back if deleted accidentally.