I need to connect to MS SQL Server using service account.
Currently I am using IntegratedSecurity=true
property to enable windows authentication. But in this we are not able to enter password because it takes only the service account using which the application is running.
Could anybody me with the snippet using which I can enter service account and password in the java code to connect to the MS SQL Server?