Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
select * from openQuery(XYZ,'abc');
如果链接服务器可用,查询将正确执行。如果链接服务器关闭,我想显示零。有什么办法可以做到这一点。
You can use a try / catch statement. Explained here.