GRANT ADMINISTER Database Bulk Operations – Incorrect syntax near ADMINISTER

All we need is an easy explanation of the problem, so here it is.

I am trying to import a bacpac file to my SQL Server Express 2016.
An exception is thrown during the import with

GRANT ADMINISTER Database Bulk Operations TO [MyUser];

Returns:

Incorrect syntax near ‘ADMINISTER’.

I am running the import as the sa user. Later when I try to run the SQL line directly, the same error is thrown. What can I do to resolve this?

Update: SQL Server Express 2019 throws "is not supported on this version of SQL Server" on the same line

Documentation suggests that the syntax is correct on both 2016 and 2019 without mentioning the exact applicable edition (Windows or Linux, Express or others)

How to solve :

I know you bored from this bug, So we are here to help you! Take a deep breath and look at the explanation of your problem. We have many solutions to this problem, But we recommend you to use the first method because it is tested & true method that will 100% work for you.

Method 1

The documentation says "ADMINISTER DATABASE BULK OPERATIONS Applies to: SQL Database."

In the context of the docs "SQL Database" is Azure SQL DB. Not the SQL Server running on Windows/Linux. "SQL Database" always means Azure SQL Database. The docs simply use both interchangeably.

Note: Use and implement method 1 because this method fully tested our system.
Thank you 🙂

All methods was sourced from stackoverflow.com or stackexchange.com, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply