TRUNCATE | DDL Command | TRUNCATE SQL in DDL Commands Truncate published on April 01, 2019 leave a reply TRUNCATE Command Truncate command used to delete data from table, but not the table structure. This command may delete whole records from table. We didn't rollback data. Because DDL commands are auto-committed that means it permanently save all the changes in the database. Syntax : TRUNCATE TABLE table_name; Parameters table_name = Name of table, which you want to truncate. Example : // truncate Customer01 table TRUNCATE TABLE Customre01; * * * * * * * * * * * * * * * * * In Easy Language Truncate command used to delete data from table. Tweet Share Share Share Previous Post DML Commands | Data Manipulation Language | SQL Commands Next Post ALTER | DDL Command | Alter Command In SQL post written by: Anonymous Related PostsALTER | DDL Command | Alter Command In SQL ALTER Command Alter command used to add, modify and delete columns and constraints in an existing table. ALTER TABLE | ALTE… Continue ReadingCreate | DDL Commands CREATE Command Create command used to create new table in a database. Syntax : CREATE TABLE table_name (column1 dataty… Continue ReadingTRUNCATE | DDL Command | TRUNCATE SQL TRUNCATE Command Truncate command used to delete data from table, but not the table structure. This command may delete who… Continue ReadingDROP | DDL Commands | Drop Command In SQL DROP Command SQL Drop command used to remove a table definition and all the data, indexes, triggers, constraints and permission… Continue Reading
0 Comments: