Difference between DELETE, TRUNCATE AND DROP in SQL.

preview_player
Показать описание
In this video, we'll understand the difference between DELETE, Truncate and drop. This is an important interview question.

✨Work related mails can be sent on:

✨If you appreciate my work and would like to donate to support our channel, you can do so here:
Рекомендации по теме
Комментарии
Автор


(Perfect for anyone willing to switch to a completely new field or to a different company in the Tech World)

crackconcepts
Автор

Better explanation than my confused instructor. Thank you!

imanoo
Автор

Very cleanly explained and straight to the point. Thank you!

kavitha-
Автор

Hi Mam, you are explaining in a very well manner and requesting to post similar kind of videos for SQL. Thanks for your good work and keep up the same.

subramaniang
Автор

Good one dear.But, just remove * from delete query bcoz it will give error.
Also, with respect to identity column there is a difference in between delete and truncate.In case of delete identity value is not reset while in case of truncate identity value gets reset to the initial seed value given in the table definition.

Tanu-mwjg
Автор

I was facing a problem in finding the difference between these 3 but you helped me out

sohammajumder
Автор

Firoz Alam here, concepts are well explained.

safarnaama
Автор

Nice explanation.But remove that * in delete query.if we give * query wont work

sank
Автор

Good teaching with good and clear voice .... thank you. Better you explain practically with SQL workbench please

Shreysanthu
Автор

TRUNCATE command delete all rows even that Table has Primary or Foreign Key . Right ?

Ganeshay-
Автор

Ohh My God!!!! Your Voice is mesmerizing!!!!

shashankdwivedi
Автор

And what about drop when we use it with alter fun. To drop column...?

Nishant.
Автор

We do can use flashback after drop by checking is table shows still in recycle bin correct?

meghnagupta
Автор

yes i m also able to understand this difference thanks

aakashsakharkar
Автор

you should have mentioned that DELETE can be rollbacked and not DROP & TRUNCATE... anyways, good explanation

debarghyamukherjee
Автор

Thank you very much you explained the difference very clearly =]

stargazingblindly
Автор

Hello from Kurdistan, Thank u varrrry🔥

mederamadan
Автор

In this drop can be rolled back using Rollback-tcl statement right?

naazvlogs
Автор

Hi Madam,
I want to insert data to a table ....I need to check whether data exist before inserting data... Do we have anything like check constraints ?

ragavendrad
Автор

i think u missed (*, ) as star &cama in CTE query is it correct

nagendrababu