解决方案 »

  1.   

    支持远程 http://technet.microsoft.com/zh-cn/library/ms142529(v=sql.105).aspx
      

  2.   


    我知道链接服务器当然支持远程查询;但这里我要求的是对索引服务器上的文件进行全文搜索,不是SQLSERVER中的表进行全文搜索。
      

  3.   


    我知道链接服务器当然支持远程查询;但这里我要求的是对索引服务器上的文件进行全文搜索,不是SQLSERVER中的表进行全文搜索。lz 最开始的语句中包含有scope() 这个是需要ado.net 支持的。也就是说,这个给定的query语句,要在.net 环境下运行。
    而不是通过sql server 的数据库引擎进行处理的。据我所知,目前sql server 跟文档接的最紧的就是个filestream. 文档内部的索引查询,仍然有待开发。 参考。
      

  4.   

    SQL queries
    Version 2.0 of Index Server provides an alternative method of issuing queries on an indexed file system. You can write SQL queries in applications that use ActiveX™ Data Object (ADO) controls. The SQL used with Index Server consists of extensions to the subset of SQL-92 and SQL3 that specifies queries on relational database systems. This SQL includes extensions to the SELECT statement and its FROM and WHERE clauses.
    出自:http://msdn.microsoft.com/en-us/library/dd582938(v=office.11).aspx参考
      

  5.   

    说了一些外围的。重新看了下lz的问题。microsoft index service 跟sql server 跨服务器之间的问题。参考这个http://technet.microsoft.com/en-au/library/ms190207(v=sql.105).aspx注意这句:
    Members of the sysadmin fixed server role address this problem by strictly controlling the SQL Server logins that are authorized to perform distributed queries that use an Indexing Service linked server.如果lz本地能通,那么问题点,最有可能是这个地方。
      

  6.   


    谢谢OrchidCat。
    但我在Server  B 上执行 sp_addlinkedsrvlogin IndexServeA, true, 'sa' 都没用。
    在 SQL Server Management Studio 上右键单击链接服务器,单击“属性”,然后选择“安全”选项卡,RPC,RPC OUT ,数据访问等都设置为 TRUE了。