This is mine. My linked server name is web, and my catalog name is web1
"Alan" <alanpltseNOSPAM@yahoo.com.au> wrote in message
news:eCPublGhGHA.3376@TK2MSFTNGP03.phx.gbl...
> Hi Hilary,
>
> Yes, I tried it works both in QA using masterdb and pubs.
>
> However, if I embed this SQL in my front end application component in
> Delphi
> sending it to SQL Server I got the error:
>
> 'Incorrect syntax near '('. Expected end-of-file, ';', AS, CREATE, DOT,
> DOTDOT, DOTDOT_SCOPE, DOTDOTDOT, DOTDOTDOT_SCOPE,
> DROP, ORDER_BY, SELECT, SET, WHERE. SQLSTATE=42000'
>
> This is my SQL:
> 'select * from openquery(demofile,''select doctitle, filename from
> demo..scope() where contains(contents, ''"help"'')'')'
>
> demo is my Windows Indexing catalog.
> demofile is the linked server.
>
> "Alan" <alanpltseNOSPAM@yahoo.com.au> wrote in message
> news:#Hf1JUGhGHA.1864@TK2MSFTNGP02.phx.gbl...
>> Hi Hilary,
>>
>> If I want to test the
>> select * from openquery(file,'select doctitle, filename from web..scope()
>> where contains(''test'')')
>> in QA, which database should I use ?
>> In addition, in your example you use the web, what keyword should I use
> for
>> file system ?
>>
>>
>> "Hilary Cotter" <hilary.cotter@gmail.com> wrote in message
>> news:OVNonlFhGHA.4388@TK2MSFTNGP05.phx.gbl...
>> > If you create a linked server you can
>> >
>> > select * from openquery(web,'select doctitle, filename from
>> > web..scope()
>> > where contains(''test'')')
>> > union
>> > select * from employees where contains(*,'test')
>> >
>> > --
>> > Hilary Cotter
>> > Director of Text Mining and Database Strategy
>> > RelevantNOISE.Com - Dedicated to mining blogs for business
>> > intelligence.
>> >
>> > This posting is my own and doesn't necessarily represent
>> > RelevantNoise's
>> > positions, strategies or opinions.
>> >
>> > Looking for a SQL Server replication book?
>> >
http://www.nwsu.com/0974973602.html >> >
>> > Looking for a FAQ on Indexing Services/SQL FTS
>> >
http://www.indexserverfaq.com >> >
>> >
>> >
>> > "Alan" <alanpltseNOSPAM@yahoo.com.au> wrote in message
>> > news:%23dvuiK7gGHA.4304@TK2MSFTNGP05.phx.gbl...
>> > >I have created a file system catalog using Windows Indexing Service
>> > >and
>> > >also
>> > > a pub database catalog inside SQL Server 2000.
>> > > Can I use do a full-text search inside SQL Server to search both
>> catalog?
>> > >
>> > >
>> >
>> >
>>
>>
>
>