Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

You do not have permission to use the bulk load statement

Hi I'm getting the error

You do not have permission to use the bulk load statement.

when I try to execute a stored procedure.

I've seen some websites mentioning about the bulkadmin role, but I don't see it.

I'm using SQL Server 2008.

Any ideas?

like image 301
thegunner Avatar asked Oct 21 '12 21:10

thegunner


People also ask

How do I give permission to bulk insert in SQL Server?

BULK INSERT requires Server Level Permissions and Database level Permissions. At server level, the respective login needs to have ADMINISTER BULK OPERATIONS permission (or be a member of the bulkadmin server role).

What permission is required for bulk insert SQL Server?

The permission of administer bulk operations is a server level permission, according to Microsoft. However, this does not give the user access to do anything on the server level.


1 Answers

  • Start SQL Server Managament Studio
  • Expand Security->Logins
  • Locate your user, right click on it and take Properties
  • Open Server Roles tab
  • Make sure that bulkadmin is checked.
  • There you can experiment with other roles if bulkadmin doesn't work for you.
  • Click OK :)
like image 134
Aleksandar Vucetic Avatar answered Sep 20 '22 20:09

Aleksandar Vucetic