Avatar of Anthony Matovu
Anthony Matovu
Flag for Uganda

asked on 

connection to sql server using JAVA

I am totally new to JAVA,  I want to connecto to a sql server database with the following details

  sqldb = New SqlClient.SqlConnection("Server=M-PC\DBS;Initial Catalog=datranDb;Persist Security Info=True;User ID=datranuser;Password=MeatAlway***;")

I really don't know  the steps to go through to to have a connection and read data from the database.


Microsoft SQL ServerJavaSQL

Avatar of undefined
Last Comment

8/22/2022 - Mon