0

I want to connect multiple SQL servers over TCP/IP with same server name and having same database name. I'm not able to change the server name or database name because the same names are used by testing softwares (LabVIEW) running on local machines. If I change the server names testing softwares(LabVIEW) does not work. So will there be any conflict if i connect all database having same server name over TCP/IP in LabVIEW

2 Answers 2

1

Are your servers IPs dynamic assigned? If not you can try to connect using IP instead of the server name.

1
  • Yes I did the same thing, thank you Commented Sep 28, 2022 at 10:00
1

You can use SQL Server alias to connect to different SQL servers using the same name: https://learn.microsoft.com/en-us/sql/database-engine/configure-windows/create-or-delete-a-server-alias-for-use-by-a-client?

1
  • Thank you. I have used IP address instead of server name and it is working Commented Sep 7, 2022 at 5:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.