We are having issues truncating a table in a stored procedure.
The work around we were using in development was to create a local temporary table (which can be truncated in a stored Procedure) . As a developer our Id in our QA environment cannot be Granted "CREATE ANY" schema privilege . This privilege allows the creation of all kinds of objects , which will be an audit issue .
Is there a way to grant an Id the ability to only create a local temporary table? Is there a work around for truncating a table in a stored procedure? We would prefer to not fill up the logs by using SQL DELETE statements in the stored procedure .