Skip to content

Commit

Permalink
Merge pull request #9840 from macarv-ms/patch-3
Browse files Browse the repository at this point in the history
Update create-database-scoped-credential-transact-sql.md
  • Loading branch information
WilliamDAssafMSFT committed Jul 11, 2024
2 parents 951e513 + fc4d5b2 commit 06c76f1
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: "CREATE DATABASE SCOPED CREDENTIAL (Transact-SQL)"
description: CREATE DATABASE SCOPED CREDENTIAL (Transact-SQL)
author: VanMSFT
ms.author: vanto
ms.date: 01/18/2024
ms.date: 07/11/2024
ms.service: sql
ms.subservice: t-sql
ms.topic: reference
Expand Down Expand Up @@ -131,7 +131,8 @@ CREATE DATABASE SCOPED CREDENTIAL AppCred WITH IDENTITY = 'Mary5',

### B. Creating a database scoped credential for a shared access signature

The following example creates a database scoped credential that can be used to create an [external data source](../../t-sql/statements/create-external-data-source-transact-sql.md), which can do bulk operations, such as [BULK INSERT](../../t-sql/statements/bulk-insert-transact-sql.md) and [OPENROWSET](../../t-sql/functions/openrowset-transact-sql.md). Shared Access Signatures cannot be used with PolyBase in SQL Server, APS or Azure Synapse Analytics.
The following example creates a database scoped credential that can be used to create an [external data source](../../t-sql/statements/create-external-data-source-transact-sql.md), which can do bulk operations, such as [BULK INSERT](../../t-sql/statements/bulk-insert-transact-sql.md) and [OPENROWSET](../../t-sql/functions/openrowset-transact-sql.md).


```sql
-- Create a db master key if one does not already exist, using your own password.
Expand Down

0 comments on commit 06c76f1

Please sign in to comment.