SQL TRUNCATE TABLE
SQL TRUNCATEÂ TABLE statement is used to delete complete data from an existing table. It is similar to a delete statement without a WHERE clause.
![]()
This website provides a SQL server, SSRS, Power BI, Python, Azure basics and advanced tutorials for beginners and professionals .
You will find out a step-by-step walk through of the basics and advanced topics with practical and include numerous hands-on activities.
SQL TRUNCATEÂ TABLE statement is used to delete complete data from an existing table. It is similar to a delete statement without a WHERE clause.
![]()
A PRIMARY KEY constraint uniquely identifies each record in a table .
A COMPOSITE KEYÂ is a combination of two or more columns in a table that can be used to uniquely identify each row in the table when the columns are combined uniqueness is guaranteed, but when it taken individually it does not guarantee uniqueness.
![]()
SQL INSERT INTO SELECT statement selects data from one table and insert it into another table.
![]()
SQL SERVER DISTINCT keyword is used to remove all the duplicate records and fetching only unique records from any table.
![]()