sql-delete
Improve performance of deletes on a table variable
I have seen performance tweaks for delete on normal tables in t-sql. But are there performance tweaks on deletes on table variables to be done?[详细]
2023-03-29 17:20 分类:问答Mysql delete statement with limit
I\'m trying to delete rows from a table but I get an error. DELETE FROM `chat_messages` ORDER BY `timestamp` DESC LIMIT 20, 50;[详细]
2023-03-29 12:34 分类:问答Slow self-join delete query
Does it get any simpler than this query? delete a.* from matches a inner join matches b ON (a.uid = b.matcheduid)[详细]
2023-03-29 03:01 分类:问答Delete rows from several tables in one query
What is the proper开发者_运维问答 way to delete rows from several tables in one query? The reason I ask is because I am doing this with PHP.If I use multiple queries to delete from each table one at[详细]
2023-03-28 22:14 分类:问答PHP hangs on MySQL delete statement
I\'m trying to delete one row of data from a MySQL database (innodb) in a PHP script. But instead of deleting, the PHP script hangs on the query. It\'s a very simple delete statement:[详细]
2023-03-28 16:22 分类:问答Update a row and delete another one
I\'m trying to update a table wit开发者_运维知识库h values from another table. What I want to do is, each time an update happens, to delete the row in the table where I\'m getting the data from.[详细]
2023-03-28 12:04 分类:问答SQL Server delete query involving two tables
So I have tables A and B in SQL Server, and columns a and b respectively. I want to do the following in pseudo-query command, but I can\'t seem to figure it out.[详细]
2023-03-28 00:27 分类:问答MySQL Multi-Delete. Is it possible to multi-delete referenced rows?
If I have a parent table and a child table, is it possible to multi-delete the rows in them without having a \"ON DELETE CASCADE\" constraint?[详细]
2023-03-27 09:53 分类:问答Moving information from one table to another and then deleting that data from its origin
I\'m making a roster creation tool and one part of the tool is to remove the graduated students from the roster pool and put them into another table called CompletedArchive. After they are copied to t[详细]
2023-03-27 07:28 分类:问答Using MS Access finding duplicates and deleting them
I\'m trying to delete all duplicates from my database. I found the code below on this website. Problem is it deleted my entire database. Sadly I don\'t know enough about MySQL to tell why it got rid o[详细]
2023-03-26 21:52 分类:问答