About remote access SQL server |
尚未結案
|
marker
一般會員 發表:9 回覆:5 積分:2 註冊:2004-11-05 發送簡訊給我 |
Hi all, My situation is that I have some SQL servers, some of them are
running MsSQL 2000, some of them are running MsSQL 7. My program have some operation that need to use data across those
servers. I found out that if I logon the server running MsSQL 2000 the
following SQL work fine while it doesn't when I logon the server running MsSQL 7. select count(*)
from OPENDATASOURCE('SQLOLEDB', 'DATA SOURCE=Server1;
USER ID=sa;PASSWORD=sa').some_db.dbo.some_table It seems that when I logon the server running MsSQL 7, it seems to
be unable to access or find the remote MsSQL 2000 server. How to fix this? Thanks for any reply. Mark Leung
|
pcboy
版主 發表:177 回覆:1838 積分:1463 註冊:2004-01-13 發送簡訊給我 |
|
timhuang
尊榮會員 發表:78 回覆:1815 積分:1608 註冊:2002-07-15 發送簡訊給我 |
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |