0

select * from openQuery(XYZ,'abc');

如果链接服务器可用,查询将正确执行。如果链接服务器关闭,我想显示零。有什么办法可以做到这一点。

4

1 回答 1

0

You can use a try / catch statement. Explained here.

于 2012-12-14T19:20:35.527 回答