Re: A question from a newbie
From: vvenk (vvenk_at_discussions.microsoft.com)
Date: 10/27/04
- Next message: Mani: "Control over creation of procs & views owned by dbo"
- Previous message: Geoff N. Hiten: "Re: A question from a newbie"
- In reply to: Geoff N. Hiten: "Re: A question from a newbie"
- Next in thread: Dan Guzman: "Re: A question from a newbie"
- Reply: Dan Guzman: "Re: A question from a newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 27 Oct 2004 13:57:08 -0700
Geoff:
Thanks a lot. I was reading some of the postings on this forum that
suggested that I have to write a script to cycle through all the tables.
Your's is the most elegant solution.
Venkat
"Geoff N. Hiten" wrote:
> Add the user to the db_datareader fixed database role.
>
> --
> Geoff N. Hiten
> Microsoft SQL Server MVP
> Senior Database Administrator
> Careerbuilder.com
>
> I support the Professional Association for SQL Server
> www.sqlpass.org
>
> "vvenk" <vvenk@discussions.microsoft.com> wrote in message
> news:A63A543C-1176-4AEF-BC2E-2FBA35D5DB63@microsoft.com...
> > Can somebody tell me the correct syntax if I want to grant SELECT
> privileges
> > on all tables in a db?
> >
> > I tried:
> >
> > GRANT SELECT TO public;
> >
> > Thanks.
> >
> > Venkat
>
>
>
- Next message: Mani: "Control over creation of procs & views owned by dbo"
- Previous message: Geoff N. Hiten: "Re: A question from a newbie"
- In reply to: Geoff N. Hiten: "Re: A question from a newbie"
- Next in thread: Dan Guzman: "Re: A question from a newbie"
- Reply: Dan Guzman: "Re: A question from a newbie"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|