So anyway, here's the scenario.
If I run an UPDATE query, and my UPDATE statement contains the same values that are already in the row, what should the return value be? I'm occasionally sending the same exact data back to a row to refresh it, and am getting 0 as a return value. If I send different data, then I get a 1 back, which makes sense.
For example:
*Row values in ThisTable ID(Int), Name(Text), Description(Text) 5,"thisname","thisdescription"
*SQL UPDATE ThisTable Set Name = 'thisname', Description = 'thisdescription' WHERE ID = 5;
So should this SQL statement return 0 or 1? I'm getting 0, but really think I should be getting a 1. I would think that if there was no ID with a value of 5, then it would return 0. But if there is a row with an ID of 5, then it should refresh the row and return 1. Right?
-Jeff
-- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]