Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 7th, 2012, 08:48 PM
Authorized User
Points: 168, Level: 3
Points: 168, Level: 3 Points: 168, Level: 3 Points: 168, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2008
Location: New Market, Maryland, USA.
Posts: 35
Thanks: 0
Thanked 0 Times in 0 Posts
Default Connecting to SQL

Trying to connect to a SQL server with java. Are there simple instruction on how to connect to a SQL server with java. I want to be able to run a simple select statement with java code. Do I need to setup a ODBC connection, do I need to add username and password within java code? I want to be able to test the connection and then execute the select statement through java. Thanks for any help!


Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting to SQL Server ahying Visual Studio 2005 0 April 30th, 2008 04:03 AM
Connecting to SQL database ashes0000 VB Databases Basics 11 April 20th, 2007 08:37 AM
Connecting to SQL database misskaos Classic ASP Databases 8 October 23rd, 2006 05:57 PM
connecting to SQL express cherry C# 2005 2 September 2nd, 2006 12:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.