0 Replies - 1898 Views - Last Post: 18 March 2013 - 11:40 PM Rate Topic: -----

#1 toad87  Icon User is offline

  • D.I.C Head

Reputation: 8
  • View blog
  • Posts: 188
  • Joined: 21-May 12

How to connect to online database?

Posted 18 March 2013 - 11:40 PM

Hi guys,

I am doing a Java project involving SQL Server.

I have Microsoft SQL Server and want to connect to the database provided by my school.

I have the connection properties for Java to connect, but how would I use the same information to connect through Sql Server?

I just want to be able to manipulate my tables more quickly rather than having to create Java GUI code to do small things.

Here is the database props...

db.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver
db.url=jdbc:sqlserver://Beangrinder.bcit.ca
db.user=javastudent
db.password=*******
db.name=jspweb

I've taken a beginners database course before, but we only worked on local databases.


EDIT:
Crap...nevermind...I figured it out...

This post has been edited by toad87: 18 March 2013 - 11:40 PM


Is This A Good Question/Topic? 0
  • +

Page 1 of 1