Unix Technical Forum

Table owner and Select permission

This is a discussion on Table owner and Select permission within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> New to SQL server. I have created a database in SQL7 and have created a table in the database ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:16 PM
Garret
 
Posts: n/a
Default Table owner and Select permission

New to SQL server. I have created a database in SQL7 and have created a
table in the database ICFPM. Its really basic, just two fields. I have
created a new login to the database, and have made the user a member of
everything. I set the database up as a system DSN and have tested the
connection with the user name and password created and it works.

I am using Access 2000 to try and select the records from the table that I
created, but I am getting a "select permission denied on object 'tablename',
database 'databaseName', owner 'dbo'" message. What do I need to modify to
allow the procedure to be able to select from the table

THanks for the help.
G


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:16 PM
Dejan Sarka
 
Posts: n/a
Default Re: Table owner and Select permission

> New to SQL server. I have created a database in SQL7 and have created a
> table in the database ICFPM. Its really basic, just two fields. I have
> created a new login to the database, and have made the user a member of
> everything.


Seems like you have added the user to the db_denydatareader fixed db role as
well. Deny always supersedes all previous grants, except for the members of
the sysdamin fixed server role. Check the "Adding a Member to a Predefined
Role" and some related topics in Books OnLine.

--
Dejan Sarka, SQL Server MVP
FAQ from Neil & others at: http://www.sqlserverfaq.com
Please reply only to the newsgroups.
PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:15 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com