I am trying to insert images using "bulk" into SQL Server 2012. But, am ending up with the error message stating tha:
Msg 4834, Level 16, State 1, Line 2 You do not have permission to use the bulk load statement.
I have "sysadmin" access.
To grant user ability to run Bulk Insert T-SQL command , login/user needs to be granted: BULKADMIN server role - or - ADMINISTER BULK OPERATIONS server-level permission. connect on target database. insert on target table.
The bulkadmin fixed server role is the newest of the fixed server roles after being added in SQL Server 2005. This fixed server role grants its members the ability to bulk insert data using BCP, SSIS or the BULK INSERT statement without granting them any additional rights.
Try GRANT ADMINISTER BULK OPERATIONS TO [server_login]
. It is a server level permission, not a database level. This has fixed a similar issue for me in that past (using OPENROWSET I believe).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With