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
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
12,690 questions
0 comments No comments
{count} votes

Accepted answer
  1. Erland Sommarskog 100.9K Reputation points MVP
    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.


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