Solved SQL You do not have permission to use the bulk load statement

Posted on 2016-09-21
Last Modified: 2016-09-21
Hi. I get the following error when trying to run the following SQL in my application "You do not have permission to use the bulk load statement"

CREATE TABLE myTable(Document varbinary(max)) 
INSERT INTO myTable(Document) 
OPENROWSET(BULK N'C:\Users\murbr\Pictures\MyFilter.jpg', SINGLE_BLOB) 

Open in new window

Question by:murbro
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
LVL 52

Assisted Solution

by:Ryan Chong
Ryan Chong earned 250 total points
ID: 41808249
try add in Server role: bulkadmin ?
LVL 50

Accepted Solution

Vitor Montalvão earned 250 total points
ID: 41808251
What kind of permissions do you have?
If you don't have sysadmin role then you'll need to have permissions for BULK OPERATIONS:

Open in new window

LVL 52

Expert Comment

by:Ryan Chong
ID: 41808253
for my comment above

Author Closing Comment

ID: 41808274
Thanks very much

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question