See also: MySQL XAMPP Connection for Java jdbc Program
Suppose we have folowing table:
Now we want to delete one record at a time by following:
See also:
Reference
Suppose we have folowing table:
Now we want to delete one record at a time by following:
- Create a Java Connection to our MySQL database.
- Create a SQL DELETE statement.
- Then execute a Java Statement, using our SQL DELETE statement.
- Close our Java MySQL database connection.
- Finally catch any SQL exceptions using try-catch clause.
See also:
Reference
No comments:
Post a Comment