sql-update
MySQL UPDATE TIMESTAMP on row UPDATE, even when all other row data remains the same?
I have a table with a timestamp. The timestamp is set to \"ON UPDATE CURRENT_TIMESTAMP.\" When I run an update on a row with data that is the same as the data already in that row, I still want the 开[详细]
2023-03-18 23:48 分类:问答SQL Syntax using CONCAT
I have a table T1 with some fields like id,key_id ,name,date etc.. id is a auto incrementing field key_id is a value obtained from id like prefix/id[详细]
2023-03-18 22:14 分类:问答Update a record in SQL but not overwrite....add text at the start
Please how I can update table where is some text? Example: I have text \"said hello\" and I want to make this \"Peter said hello\" - I want to add word Peter...[详细]
2023-03-18 21:54 分类:问答Update Relation ID col by finding text from main table in relation table
I imported the Software PAD File Database from http://paddatabase.net/download.html into Microsoft Access in a table called main:[详细]
2023-03-18 15:06 分类:问答MySQL: Creating a new table with information from a query
In MySQL, I would like to create a new table with all the information in this query: select * into consultaa2 from SELECT[详细]
2023-03-18 03:52 分类:问答MySQL error about updating table [duplicate]
This question already has answers here: How can I write SQL for a table that shares the same name as a protected keyword in MySql? [duplicate][详细]
2023-03-17 17:35 分类:问答SQL update statement to add a value
public void InsertUserReputation() { StringBuilder sb = new StringBuilder(); sb.Append(\"UPDATE u \"); sb.Append(\" SET u.Reputation = (u.Reputation + @Reputation)\");//Problem is here u.Reputation is[详细]
2023-03-17 17:04 分类:问答Select count(*) from A update in B Super Slow
I have a query that takes 2minutes to count from table A and update Table B with the count result. Everytime that a number in Table_B column Start matches the range in Table_A (readstart/readend) I[详细]
2023-03-17 13:32 分类:问答MySQL operating hierarchical data
I have MySQL table structure: CREATE TABLE IF NOT EXISTS `categories` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT,[详细]
2023-03-17 04:43 分类:问答Data in a MySQL Database is not being updated. Any thoughts?
I am trying to use the below to update a MySQL DB.I connect fine and get no errors when submitting a change yet the DB is not showing any changes. Any thoughts?[详细]
2023-03-16 17:15 分类:问答