Re: Error : Cannot specify an index or locking hint for a remote data source
From: Aaron [SQL Server MVP] (ten.xoc_at_dnartreb.noraa)
Date: 07/06/04
- Next message: Ben: "Re: SQL 2000 Maint. Plans"
- Previous message: Gary: "Re: Primary File Group Full"
- In reply to: John Williams: "Error : Cannot specify an index or locking hint for a remote data source"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Error : Cannot specify an index or locking hint for a remote data source"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Error : Cannot specify an index or locking hint for a remote data source"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 6 Jul 2004 11:26:13 -0400
Can you not create a stored procedure on the remote data source that
specifies the hint?
-- http://www.aspfaq.com/ (Reverse address to reply.) "John Williams" <anonymous@discussions.microsoft.com> wrote in message news:27f3501c4636b$941fa990$a301280a@phx.gbl... > We are migrating from sql 7 to sql 2000 and for the time > being leaving the database in sql 7 compatabiliy mode. > Some of the stored procedures reference the tables on a > linked server. The linked server is running sql 2000 and > the database is sql 2000. > > When I run the following command > select * from linked_server.database.dbo.tablename (nolock) > > I receive the following error > Cannot specify an index or locking hint for a remote data > source. > > If I remove the () around nolock the statement runs. > > The question(s) I have > > 1. Did I set something up wrong? > 2. Without the () is the nolock still performing the same > function? > 3. Assumining I did not error on the configuration, Why do > I receive this error now, and not before? > 4. Any ideas to fix the problem without removing the ()? > > Thanks in advance for any suggestions/ideas. > > John Williams
- Next message: Ben: "Re: SQL 2000 Maint. Plans"
- Previous message: Gary: "Re: Primary File Group Full"
- In reply to: John Williams: "Error : Cannot specify an index or locking hint for a remote data source"
- Next in thread: anonymous_at_discussions.microsoft.com: "Re: Error : Cannot specify an index or locking hint for a remote data source"
- Reply: anonymous_at_discussions.microsoft.com: "Re: Error : Cannot specify an index or locking hint for a remote data source"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|