We have a new production environment we are moving our databases to, the maximum permissions any user will have is:
Tables: Select;Insert;Delete;Update - although securtiy will be set through the sps
SPs: Execute
Views: Select
UDFs:Execute
We use DTS to load our data, the strategy we want is to allow only execute on sps;udfs and select on views.
The problem is the connection in the package would require the connecting user to have insert and delete rights directly on the table which I need to get around.
Is there any way to some how do this through a stored procedure such as Select Into <TblName> From '<Path>' without using bcp or BULK INSERT (as requires BULK INSERT ADMINISTRATORS role as well as DBO rights being set - which I think is RIDICULOUS!)
I also dont want to go down the ADO route and insert each row as this will take HOURs as files are over 50,000 rows