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

前端 未结 3 835
灰色年华
灰色年华 2021-02-18 22:20

I am trying to insert an image into a VARBINARY(MAX) column. I get this error:

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

3条回答
  •  傲寒
    傲寒 (楼主)
    2021-02-18 22:37

    Possibly one needs

    ALTER ROLE [sysadmin] ADD MEMBER [user]
    

    For example - in the current Linux version of SQL Server bulkadmin role is not supported and one needs to use a sysadmin to BULK INSERT. It is a known issue with SQL Server https://github.com/MicrosoftDocs/sql-docs/issues/4198 - SQL Server on Linux has permissions and roles that are not granular enough.

提交回复
热议问题