Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Other Java > Java Databases
Password Reminder
Register
| FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
 
 
Thread Tools Search this Thread Display Modes
  #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!
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 03:20 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.