MySQL Forums
Forum List  »  General

Re: MySQL table filed with text datatype inserting some script value automatically and ignored user input
Posted by: Rick James
Date: June 14, 2016 09:27PM

> update tabl_mytab set Notes='test value'

That changes all the rows in the table. Perhaps you want a WHERE clause?

If you are still having trouble, provide a test case with something like
CREATE TABLE ...
INSERT ...
INSERT ...
SELECT * FROM tbl;
UPDATE ...
SELECT * FROM tbl;

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.