الانتقال إلى المحتوى

" DELETE FROM" AND "TRUNCATE"


trust_words

Recommended Posts

hello , the main difference between delete and truncate is that you can rollback the delete statment , but u can't rollback a truncate statment , which means you can retreive records which was delete , but you can't retreive records that are truncated .
:(

رابط هذا التعليق
شارك

  • بعد 4 أسابيع...
  • بعد 3 أسابيع...

Truncat is DDL statement and Delete is DML statement , this deference is enough to understand the benefits, because as we know DDL commits any transactions before it and also it works directly with the tablespace , this is my concept in addition to the previous answers of our brothers...

رابط هذا التعليق
شارك

  • بعد 4 أسابيع...

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   تمت استعادة المحتوى السابق الخاص بك.   مسح المحرر

×   You cannot paste images directly. Upload or insert images from URL.

جاري التحميل
×
×
  • أضف...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية