Tuesday, March 7, 2017

How to update Data in a MySQL Database?

How to update Data in a MySQL Database?

Hello friends today I am giving you the best video tutorial for learning JDBC. In todays video tutorial you will learn the Java JDBC code for updating the data into MySQL database table.

For updating data you can use the "update <table> set field1=<value> where some condition" syntax of SQL and then run it using the JDBC program.

The steps for updating the data are
1. Make JDBC connection
2. Create jdbc Statement object
3. Run the update query against database

You can download the source code from Check source code from:



Video tutorial of How to update Data in a MySQL Database?



We have 100s of JDBC tutorials at JDBC Tutorials page. Visit this page to learn complete JDBC API in Java.

Thanks



No comments: