Re: Stored Procedure / GrantDbAccess
- From: Doug <Doug@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 23 Sep 2008 12:26:01 -0700
Thanks Roy!
Spelling! Sheesh!!! I looked at it several times and didn't catch it...
Next question: I'm really wanting to grant access to the DASL database for
any user with access to the DASLr2 database. When I specify:
declare login_curs cursor for select name from DASLr2..logins where name
<> 'sa'
and run the SP, I receive the error message: Invalid object name
'DASLr2..logins'.
I tried "DASLr2..logins", "DASLr2.dbo.logins", and still received the same
error. What's the magical syntactical combination I'm looking for?
Thanks again...
.
- Follow-Ups:
- Re: Stored Procedure / GrantDbAccess
- From: Roy Harvey (SQL Server MVP)
- Re: Stored Procedure / GrantDbAccess
- References:
- Stored Procedure / GrantDbAccess
- From: Doug
- Re: Stored Procedure / GrantDbAccess
- From: Roy Harvey (SQL Server MVP)
- Re: Stored Procedure / GrantDbAccess
- From: Doug
- Re: Stored Procedure / GrantDbAccess
- From: Roy Harvey (SQL Server MVP)
- Stored Procedure / GrantDbAccess
- Prev by Date: Re: Stored Procedure / GrantDbAccess
- Next by Date: Re: Stored Procedure / GrantDbAccess
- Previous by thread: Re: Stored Procedure / GrantDbAccess
- Next by thread: Re: Stored Procedure / GrantDbAccess
- Index(es):