Connection Strings For Microsoft SQL Server

One Star

Connection Strings For Microsoft SQL Server

For
Server Name = A
User Name = B
Password = C
Database Name = D
What would a well formed connection string be?
Additionally is it possible to user windows authentication instead of the UserName/Password combination?
Thanks in advance
Employee

Re: Connection Strings For Microsoft SQL Server

The connection string is created by the connection wizard. Just fill in the information about login, server...
It should result in a string like
jdbc:jtds:sqlserver://A:1433/D;
or
jdbc:sqlserver://A:1433;DatabaseName=D
depending on the version of your database.