Re: Problem Granting Permission to Usernames containing / or . ???
- From: "Andrew J. Kelly" <sqlmvpnooospam@xxxxxxxxxxxx>
- Date: Fri, 16 May 2008 08:09:24 -0400
Try putting square brackets around the domain and login.
GRANT EXECUTE ON functionname TO [DOMAIN\Fred.bloggs]
--
Andrew J. Kelly SQL MVP
Solid Quality Mentors
"ezeget.com" <ezeget.com2007@xxxxxxxxxxxxxxxx> wrote in message news:DDCA9984-E67D-45EC-BAB0-0B3BBE54FBF8@xxxxxxxxxxxxxxxx
Can someone explain why I am unable to do this now on my SQL Database.
Suspect it is some settings / collation or the like but when I say
GRANT EXECUTE ON functionname TO DOMAIN\Fred.bloggs
I get Incorrect syntax near \
I have tried dynamic sql and performing replace strings using CHAR() etc.
I am sure I used to be able to do this kind of thing without syntax errors?
Has anything changed in SQL??? Or am I missing something?
HELP! Please
--
Steve G
.
- Follow-Ups:
- Re: Problem Granting Permission to Usernames containing / or . ???
- From: ezeget.com
- Re: Problem Granting Permission to Usernames containing / or . ???
- References:
- Problem Granting Permission to Usernames containing / or . ???
- From: ezeget.com
- Problem Granting Permission to Usernames containing / or . ???
- Prev by Date: Problem Granting Permission to Usernames containing / or . ???
- Next by Date: Re: Problem Granting Permission to Usernames containing / or . ???
- Previous by thread: Problem Granting Permission to Usernames containing / or . ???
- Next by thread: Re: Problem Granting Permission to Usernames containing / or . ???
- Index(es):
Relevant Pages
|