Truncate (SQL)
Een TRUNCATE-opdracht in SQL wist de gegevens uit één tabel van een database. De TRUNCATE TABLE table_name
-opdracht is logisch (maar niet fysiek) gelijk aan de DELETE FROM table_name
-opdracht. Bij TRUNCATE
wordt echter ook de AUTO_INCREMENT
-waarde op 0 gezet.
TRUNCATE Syntax
TRUNCATE TABLE table_name
Zie ook
Geplaatst op: 24-12-2014 |
Dit artikel is een beginnetje over informatica. U wordt uitgenodigd om op bewerken te klikken om uw kennis aan dit artikel toe te voegen. |
Databases | ||||||||
---|---|---|---|---|---|---|---|---|
databasemanagementsysteem · databasemodel · databasenormalisatie · referentiële integriteit · relationele algebra · relationele database · relationeel model
|
This article is issued from
Wikipedia.
The text is licensed under Creative
Commons - Attribution - Sharealike.
Additional terms may apply for the media files.