Forum Discussion
joicejoy
Aug 04, 2023Copper Contributor
How to set environment variables for sql server process running on windows
Hello,
I want to set environment variable in sql server process running on windows machine. Please help me on this
- olafhelperBronze ContributorFor what?
SQL Server runs under a service account, which do't have a profil and so no enviroment.- joicejoyCopper Contributor
Thanks for the quick reply.
I have two instances of sql server running on two different ports on the same machine. I want my java application to dynamically get these ports from process environment, but you are saying there is no environment right?
- olafhelperBronze ContributorSQL Server don't use Java, so how does you processes look like?