Re: INSERT Permission & Linked Servers
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Tue, 15 Jan 2008 00:24:25 -0800
Craig Wagner (MSDNNospam207@xxxxxxxxxxxxx) writes:
Thank you for the suggestion. I tried granting VIEW DEFINITION to that
table but I still got the same message.
One other data point that I discovered after my original post. The table
into which I'm inserting has a primary key. If the value I'm trying to
insert does not already exist, I get the message in my original post. If
I try to insert a duplicate value I get a message that is much more to
the point.
Msg 229, Level 14, State 5, Line 1
The SELECT permission was denied on the object 'SampleTable', database
'Sample', schema 'dbo'.
Then it seems that the provider is running some query with SET FMTONLY ON
to get information. You can use Profiler on the remote server to see what
the originating server emits.
If it uses SELECT, then the users would need SELECT permission.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- References:
- Re: INSERT Permission & Linked Servers
- From: Erland Sommarskog
- Re: INSERT Permission & Linked Servers
- From: Craig Wagner
- Re: INSERT Permission & Linked Servers
- Prev by Date: Re: INSERT Permission & Linked Servers
- Next by Date: RE: sql server 2005 account lockout
- Previous by thread: Re: INSERT Permission & Linked Servers
- Index(es):
Relevant Pages
|