Re: Users and Truncate Table
From: Andrew J. Kelly (sqlmvpnooospam_at_shadhawk.com)
Date: 08/29/05
- Next message: ErwinB: "Re: Server Registration fails - figure this out !"
- Previous message: jaylou: "Create table rights"
- In reply to: Ben: "Users and Truncate Table"
- Next in thread: Jose G. de Jesus Jr MCP, MCDBA: "RE: Users and Truncate Table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 29 Aug 2005 17:16:51 -0400
In SQL2000 you need to have dbo rights to truncate a table. 2005 makes this
much easier but now you are stuck with giving them enough permissions to do
more than what you want if you let them Truncate. If the table is small
just do a Delete with no WHERE clause.
-- Andrew J. Kelly SQL MVP "Ben" <ben_1_ AT hotmail DOT com> wrote in message news:0BE17F50-9BCC-41DD-AE86-E076349AB048@microsoft.com... > How can i set up a use that is able to run a stored procedure that > truncates > a specific table? I could swap the truncate for a drop table and create > table statement if that works better. The tables the user will be > truncating > only contain summaries of the real data so i believe there isnt a worry of > security > > thanks for the help! > ben
- Next message: ErwinB: "Re: Server Registration fails - figure this out !"
- Previous message: jaylou: "Create table rights"
- In reply to: Ben: "Users and Truncate Table"
- Next in thread: Jose G. de Jesus Jr MCP, MCDBA: "RE: Users and Truncate Table"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|