sql server bulk insert permisisons

NeophyteSQL 241 Reputation points
2021-03-01T20:55:26.44+00:00

if the login is a member of the db_owner on the master database, does it need explict permisions for bulk insert

or does the role db_owner for master already include bulk insert operation permissions.

SQL Server Other
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 121.4K Reputation points MVP Volunteer Moderator
    2021-03-01T22:33:22.543+00:00

    To perform BULK INSERT or OPENROWSET(BULK) You need to have the server permission ADMINISTER BULK OPERATIONS or be a member of the fixed server role bulkadmin.

    Normally, there would not be any members in db_owner in master outside those who are members of sysadmin. But in any case, permissions or role membership on database level, does not give you server-level permissions, and that is what is needed here.

    1 person found this answer helpful.

5 additional answers

Sort by: Most helpful
  1. NeophyteSQL 241 Reputation points
    2021-03-02T13:57:55.9+00:00

    is there any Microsoft documentation to show that db_owner includes bcp permissions

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.