0

I am working on this MS Azure article: Connect to and manage Azure Synapse Analytics workspaces in Azure Purview. But in Grant permission to use credentials for external tables section of the article, when I run the following query, I get the error shown below:

SQL: GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[mySynapseWorkspace] TO [myPurviewAccountName];

Error:

mismatched input 'SCOPED' expecting ':'

Question: What may be a cause of the error, and how can we fix it?

4

1 回答 1

0

我从记录的类似问题中了解到,您应该提供您的凭据名称和用户名。

尝试,

GRANT REFERENCES ON DATABASE SCOPED CREDENTIAL::[your_credential_name] TO [your_username];
于 2021-12-07T03:31:50.417 回答