TRUNCATE TABLE
grammar TRUNCATE TABLE name parameter Is the name of the table to be truncated or from which all rows are to be deleted. Notes The For tables referenced by a FOREIGN KEY constraint, TRUNCATE TABLE cannot be used. Instead, a DELETE statement without a WHERE clause should be used. Because TRUNCATE TABLE is not logged, it cannot activate triggers. Example The following example deletes all data from the authors table. Permissions Summarize The above is the full content of this article. I hope that the content of this article will have certain reference learning value for your study or work. Thank you for your support of 123WORDPRESS.COM. If you want to learn more about this, please check out the following links You may also be interested in:
|
<<: Vue implements tab navigation bar and supports left and right sliding function
>>: How to solve the problem that VMware virtual machine bridge mode cannot access the Internet
1. The organizational structure of the hypertext d...
1. Check the character set of the default install...
This is a pretty cool feature that makes web page...
The official source code of monaco-editor-vue is ...
In order to enhance the ability to write JavaScri...
Thanks to the development of the Internet, we can...
Today I received a disk alarm exception. The 50G ...
Docker Compose Introduction to Compose Compose is...
Use the following command to check whether MySQL ...
Table of contents 1. Introduction 2. Thought Anal...
Table of contents 1 Version and planning 1.1 Vers...
1. Install mysql Run the following command to upd...
Recently, WeChat was forced by Apple to develop a...
Table of contents Preface 1. Startup management b...
1. Basic Concepts 1. Sitemesh is a page decoratio...