Results 1 to 4 of 4
- 02-23-2013, 02:17 AM #1
Banned
- Join Date
- Feb 2013
- Posts
- 3
- Rep Power
- 0
- 02-23-2013, 08:56 AM #2
Re: Java with sql sever 2005 connectivity?
On reviewing your two other posts, you seem to have no idea what a forum is for. A forum is not a code factory.
Recommended reading: How to ask questions the smart way
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 02-23-2013, 06:25 PM #3
Re: Java with sql sever 2005 connectivity?
One post by K.A Naqvi has been deleted and the member is banned for a year for using foul language.
dbWhy do they call it rush hour when nothing moves? - Robin Williams
- 04-28-2013, 12:22 AM #4
Oracle Java Developer
- Join Date
- Apr 2013
- Location
- In a PineApple Under the Sea
- Posts
- 20
- Rep Power
- 0
Re: Java with sql sever 2005 connectivity?
Java Code:import java.sql.*; public class SQLServerExampleForTheFool { public static void main(String[] args) { try { java.lang.Class.forName( "com.microsoft.sqlserver.jdbc.SQLServerDriver" ); Connection c = java.sql.DriverManager.getConnection( "jdbc:sqlserver://localhost\SQLEXPRESS;user=SQLDATAUSER;password=database;" ); System.out.println( "Connected!" ); } catch( Exception ex ) { ex.printStackTrace(); } } }
Similar Threads
-
Running sever from Website
By daytonellwanger in forum NetworkingReplies: 0Last Post: 12-15-2010, 02:35 AM -
Problem with Sever
By ersachinjain in forum NetworkingReplies: 2Last Post: 01-11-2010, 03:10 PM -
Saving image to sever.
By dudejonne in forum New To JavaReplies: 5Last Post: 11-03-2009, 02:01 PM -
Java connecting to sql server 2005
By pelegk2 in forum JDBCReplies: 0Last Post: 04-05-2008, 09:17 PM -
regarding client -sever
By gobinathm in forum Advanced JavaReplies: 0Last Post: 11-12-2007, 05:59 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks