HomeНаука и техникаRelated VideosMore From: Dilip MJ Gangwar

#3 DROP & DELETE DATABASE OR TABLE DIFFERENCE BETWEEN DROP & DELETE

4 ratings | 180 views
ROLE OF DELETE & DROP KEYWORD IN SQL/MYSQL/ACCESS difference between delete and truncate in sql server,sql,delete,sql tutorial,difference between drop and truncate in mysql,difference between delete and truncate,sql server,sql (programming language),drop,difference between delete & truncate,difference between truncate and delete,difference between delete truncate and drop in sql server 2012,sql tutorial for beginners,difference between delete and truncate in sql server 2008,difference between delete and truncate in sql server with example sql,delete,sql server,sql (programming language),drop,sql tutorial,sql delete,drop table in oracle sql,drop table in sql server,creating tables in sql,sql drop,drop table sql,delete vs trucate vs drop in sql,microsoft sql server,delete records in sql,delete table in sql server,how to delete database in sql server,drop in sql,delete vs drop,sql delete & drop TRUNCATE TRUNCATE is a DDL command TRUNCATE is executed using a table lock and whole table is locked for remove all records. We cannot use Where clause with TRUNCATE. TRUNCATE removes all rows from a table. Minimal logging in transaction log, so it is performance wise faster. TRUNCATE TABLE removes the data by deallocating the data pages used to store the table data and records only the page deallocations in the transaction log. Identify column is reset to its seed value if table contains any identity column. To use Truncate on a table you need at least ALTER permission on the table. Truncate uses the less transaction space than Delete statement. Truncate cannot be used with indexed views. DELETE DELETE is a DML command. DELETE is executed using a row lock, each row in the table is locked for deletion. We can use where clause with DELETE to filter & delete specific records. The DELETE command is used to remove rows from a table based on WHERE condition. It maintain the log, so it slower than TRUNCATE. The DELETE statement removes rows one at a time and records an entry in the transaction log for each deleted row. Identity of column keep DELETE retain the identity. To use Delete you need DELETE permission on the table. Delete uses the more transaction space than Truncate statement. Delete can be used with indexed views. DROP The DROP command removes a table from the database. All the tables' rows, indexes and privileges will also be removed. No DML triggers will be fired. The operation cannot be rolled back. DROP and TRUNCATE are DDL commands, whereas DELETE is a DML command. DELETE operations can be rolled back (undone), while DROP and TRUNCATE operations cannot be rolled back. #HindiTutorial #DilipSir #askDilipSir #Youtuber #YouTube #you_tuber #Dilip #sir #india #tech #technology #videos #best #tutorial #how #know_how #CSharp #Excel #Word #HTML #CSS #ComputerTips_Tricks #ASP.net #WinFormApp #HowtoFix #VisualStudio #MSPowerPoint #OutLook #SQL #Hindi #Urdu #SocialTech #Facebook #GamePlays #gameplay #game_play #playGame #CallofDuty #CsharpinHindi #HTML5 #Advance_Excel #IA, #RRB, #IBPS, #SSC, #UPPSC, #2nd Grade, #LDC, #POLICE, #COMPUTER, #RAILWAY, #ASSISTANT, #TEACHER
Html code for embedding videos on your blog
Text Comments (4)
CHANDRA PRAKASH SINGH (3 months ago)
That should be most easy to understand !!!
Dilip MJ Gangwar (3 months ago)
चंद्रप्रकाश जी आप क्या कहना चाहते मैं समझ नहीं पाया
CHANDRA PRAKASH SINGH (3 months ago)
Written ma 1 bar plz !!!
Dilip MJ Gangwar (3 months ago)
चंद्रप्रकाश जी आप क्या कहना चाहते मैं समझ नहीं पाया

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.