Permissions for truncating a table

Shahar Mosek picture Shahar Mosek · Jan 19, 2011 · Viewed 80.4k times · Source

What permission do I need to GRANT a user, in MSSQL, in order to be able to truncate a table?

I'm trying to grant the minimal set of permissions, but I can't use DELETE, because the table is very large, and I want the operation to be quick.

Answer

Shahar Mosek picture Shahar Mosek · Jan 19, 2011

You need the ALTER permission: see the Permissions section here.

Note that you can also use a stored procedure with EXECUTE AS, so that the user running the stored procedure does not need to even be granted the ALTER permission.