Re: Database Visibility and Access
From: BP Margolin (bpmargo@attglobal.net)
Date: 02/22/03
- Next message: Henrik: "Re: NT authentication vs. SQL auth"
- Previous message: Manrique Bonet: "Database Visibility and Access"
- In reply to: Manrique Bonet: "Database Visibility and Access"
- Next in thread: Montu Mistry: "Re: Database Visibility and Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "BP Margolin" <bpmargo@attglobal.net> Date: Sat, 22 Feb 2003 14:53:05 -0500
Manrique,
SQL Server security is a two-part "thing" ... first one needs permission to
just access a SQL Server instance ... which by itself does not necessarily
grant access to any database in that instance, and then one has to have
permissions to access the database itself.
Take a look at the documentation on the sp_change_users_login system stored
procedure. Sounds to me that you just need to execute it in order to have
SQL Server "re-sync" its two levels of security.
You also might consider reading about SQL Server security in the SQL Server
Books Online. The section "Managing Security", and its sub-sections, are
perhaps a good place to begin.
-------------------------------------------
BP Margolin
Please reply only to the newsgroups.
When posting, inclusion of SQL (CREATE TABLE ..., INSERT ..., etc.) which
can be cut and pasted into Query Analyzer is appreciated.
"Manrique Bonet" <mbonet@earthlink.net> wrote in message
news:02a301c2daaa$90e4e290$3001280a@phx.gbl...
> I have a database from a third party vendor given to me by
> my client which I need to access to add new reporting
> functionality. I restored the database from a back up and
> can see everything in the database just fine from SQL
> Enterprise Manager. When I go to access the database from
> SQL Query Analyzer, an ADO Connection or an ODBC
> Connection this database is not visible to me and I cannot
> connect. When looking at the users and roles in that new
> database the only difference I can see is that the dbo
> user is not associated with the SA role. Can someone help?
- Next message: Henrik: "Re: NT authentication vs. SQL auth"
- Previous message: Manrique Bonet: "Database Visibility and Access"
- In reply to: Manrique Bonet: "Database Visibility and Access"
- Next in thread: Montu Mistry: "Re: Database Visibility and Access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|