Sep 12 2023 12:42 AM
Hi,
I am trying to set up an external data source to connect to Oracle. This works fine when I specify the Oracle hostname like "LOCATION = 'oracle://oracle1:1521".
In our setup we normally us TNS where there are two servers specified. oracle1 and oracle2. In case of a failover the connection uses the server which is online. In the working example above I cannot use of this option and the external table will fail if the database is running on oracle2.
I can read in the documentation that with CU2 in SQL 2022 there was an option introduced to use TNS and I hope this will solve this problem. However, the documentation is vague about how to use it and I do not find other documentation about the "feature".
Could anyone give an example how to use this option to be able to use the "Oracle" failover option?
Thanks.
Stefan
Sep 12 2023 04:41 AM
SolutionSep 12 2023 04:41 AM
Solution