Java Assist

Helping with Programming

Menu
  • Home
  • Archive
  • Privacy Policy
  • About Us

Sample statement – Insert

November 30, 2009
 |  No Comments

Attached is a sample program to Insert data into MySQL using the Muchach's DB.

Here is the sample code: JDBCinsert.java (1.20 kb)

The Prerequisite are:

  • MySQL installation: Primer-Installing-MySQL-on-Windows
  • Murach's DB is loaded: How-to-create-the-databases-for-this-book
  • Java JDBC: JDBC-driver-for-MySQL-download-and-install

Expected results should be something like:

Records updated:1

done.

Post navigation

← Sample statement – connection pooling (incomplete)
Sample statement – Update →

Tag Cloud

Disk
July 2025
S M T W T F S
 12345
6789101112
13141516171819
20212223242526
2728293031  
« Apr    

Recent Posts

  • Python Developer’s Toolkit (using Standard Tools)
  • partition wizards
  • dummy load
  • Raspberry PI – Android
  • Build native Android, iOS and Windows apps with Visual Studio

Recent Comments

    Pages

    • About Us
    • Archive
    • Example page
    • Example page…and it is the front page
    • Home
    • Privacy Policy
    • reCAPTCHA
    • Security Risk

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Java Assist

    • Home
    • About Us
    • Archive
    • Privacy Policy
    • Security Risk
    SKT Cafe