开发者

How to connect to different data bases in One DB server but with different instances?

开发者 https://www.devze.com 2023-03-02 09:54 出处:网络
How can I connect t开发者_运维技巧o different databases in one Db server but with different instances?

How can I connect t开发者_运维技巧o different databases in one Db server but with different instances? Can I use this statement: db2.tbl_1.city?


You have to use multiple connections: one per instance. A.k.a. each connection is for exactly one instance. Instances are not aware of each other which is what'd you'd expect of course

Inside any instance, you'd use the 3 part object names as you did above.

0

精彩评论

暂无评论...
验证码 换一张
取 消