Win a copy of Kubernetes in Action this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

syntax for connection of jdbc with sql server  RSS feed

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am new to java. Please can aynbody tell me about how to connect a database in sql server with the help of jdbc.Can anybody tell me the syntax for connection of jdbc with sql server.
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi shelly,
check out this URL: http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
I'm sure you can figure out how to make a connection to a database.
 
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"gemini gemini",
Welcome to the Ranch!
unfortunately your display name is not valid. We require it to be two words: Your first name, a space, then your last name. Fictitious names are not allowed. You can check out the rules here
Please edit your profile with a valid display name. Accounts with invalid display names get deleted.
thanks,
Dave.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!