Create TriggerCourse_delete onCourseinstead of Delete as Declare @cno varchar( -)--Defining Variables Select @cno =Cno fromDeleted--the information in the temp table is instead of substitution delete information to delete Delete
Document directory
MySQL table replication
MySQL table modification
Delete a MySQL table
I didn't want to write this section, because it was very troublesome. There were many examples, which were representative, and I knew everyone was bored.
1. if the data is important, back up the data first. 2. delete the table data SQL: DeleteFrom (#39; table name #39;) For example: DeleteFromabcd 3. execute the new SQL statement: dbcccheckident (#39; table name #39;, reseed, 0) for example:
Although the green Resource network is not recommended to use the command to delete things in the database table, but these delete commands are always useful places.
When it comes to deleting a table's data, the most important thing you can
Oracle Update Data Tip Custom "ORA-20010: Cannot drop/truncate the table" errorJava.sql.batchupdateexception:ora-00604:error occurred at recursive SQL Level 2ORA-20010: The table cannot be drop/truncate.Ora-06512:at Line
While it's not recommended to use commands to delete things in a database table, these delete commands are always useful.When it comes to deleting table data, the biggest thing you can remember is the delete.However, we do database development and
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->
Alter
Table
Name
Alter
Table
-Change table attributesSyntax
Alter
Table
Table
[
*
]
Add
[
The SQL statement I used:
Delete from fp_sgfpxxWhere fphm in (select fphm from fp_sgfpxx group by fphm having count (fphm)> 1)And rowid not in (select min (rowid) from fp_sgfpxx group by fphm having count (fphm)> 1)
Delete duplicate invoice
The Windows Route table command displays and modifies entries in the local IP address routing table. Syntax route [-f] [-p] [Command [Destination] [mask Netmask] [Gateway] [metric Metric] [if Interface] parameter-f clears all (The network mask is 255
MyISAM Data Sheet After you delete the largest numbered record, the number is not reusable. You can use the "auto_increment=n" option to specify a self-increment initial value when building a table. Use the ALTER TABLE TABLE_NAME AUTO_INCREMENT=N
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.