How To Update Specific Rows In MySQL Tutorial Example
Open your MySQL Query Editor then copy & paste the below code to update specific rows from a database table "test" in MySQL Database Server
-- How To Update Specific Rows In MySQL Tutorial Example UPDATE test SET TestID=11 WHERE TestName='Noor.Hasan'; -- that's it!! TestID column of all rows of mysql database table "test" have/has been updated -- whose TestName value is "Noor.Hasan"
-- is comment in MySQL
-- in fact it is comment in MSSQL and Oracle as well
How To Update Specific Rows In MySQL Tutorial Example - Result in MySQL Query Editor
Related Tutorial Examples
- MySQL NULLIF() Function NULL Value Example
- MySQL IFNULL() Function Datetime Example
- MySQL IFNULL() Nested Function Example
- MySQL IFNULL() Function String Example
- MySQL IFNULL() Function Number Example
- MySQL TRUNCATE TABLE Example
- MySQL Stored Procedure: Batch Salary Increment Example
- MSSQL PRINT Like Function in MySQL Example
- 20 steps to make CakePHP Blog Project

No comments:
Post a Comment
leave your comments here..