Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JDBC with MS SQL Server 2000

 
Sasikanth Malladi
Ranch Hand
Posts: 175
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!
Can anyone help me in accessing a SQL Server from a Java program? Does Java have support SQL Server? i.e. Can I access a SQL Server database from a java program, to read from and write to the database?
Thanks,
Sashi
 
Cindy Glass
"The Hood"
Sheriff
Posts: 8521
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have the question backwards. It should be "does SQL Server have support for java".
I believe that it does (both Sybase and MS). When you install it there should be an ODBC driver for it included and you just make a JDBC call using it.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic