Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: connect java to a database

  1. #1
    Junior Member
    Join Date
    Dec 2010
    Posts
    24
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default connect java to a database

    how can i connect my program to microsoft sql database??


  2. #2
    Junior Member
    Join Date
    Oct 2010
    Posts
    21
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: connect java to a database

    I was looking into using a database with one of my programs myself, and I believe you can utilise the JDBC driver.

    JDBC 101 - Connect to a SQL database with JDBC | Java JDBC connection example | devdaily.com

    That seems like a quite detailed article to me but just google "JDBC" and "SQL database" and you should find quite a few hits =]

Similar Threads

  1. Java Code to connect remote server
    By idealguy in forum File I/O & Other I/O Streams
    Replies: 1
    Last Post: August 3rd, 2012, 04:59 AM
  2. Need urgent help to connect to Database
    By The Vicky in forum JDBC & Databases
    Replies: 3
    Last Post: November 27th, 2010, 11:09 AM
  3. Replies: 6
    Last Post: August 18th, 2010, 05:41 PM
  4. Java Swing Tables ( JTable Models ) to connect to Database
    By javaprogrammer in forum JDBC & Databases
    Replies: 0
    Last Post: January 26th, 2010, 04:13 PM
  5. Replies: 0
    Last Post: January 26th, 2010, 04:10 PM