Skip to content

Commit e708e0c

Browse files
authored
Merge pull request #19528 from dzsquared/sqlpackage-createdatabase
adds link to create database permissions
2 parents c970b7d + c15feaf commit e708e0c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/tools/sqlpackage/sqlpackage-import.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ms.assetid: 198198e2-7cf4-4a21-bda4-51b36cb4284b
99
author: "dzsquared"
1010
ms.author: "drskwier"
1111
ms.reviewer: "maghan; sstein"
12-
ms.date: 3/10/2021
12+
ms.date: 6/10/2021
1313
---
1414

1515
# SqlPackage Import parameters and properties
16-
The SqlPackage.exe Import action imports the schema and table data from a BACPAC package - .bacpac file - into a new or empty database in SQL Server or Azure SQL Database. At the time of the import operation to an existing database the target database cannot contain any user-defined schema objects.
16+
The SqlPackage.exe Import action imports the schema and table data from a BACPAC package - .bacpac file - into a new or empty database in SQL Server or Azure SQL Database. At the time of the import operation to an existing database the target database cannot contain any user-defined schema objects. Alternatively, a new database can be created by the import action when the authenticated user has [create database permissions](/sql/t-sql/statements/create-database-transact-sql#permissions).
1717

1818
## Command-line syntax
1919

@@ -36,7 +36,7 @@ SqlPackage {parameters}{properties}{SQLCMD Variables}
3636
|**/Quiet:**|**/q**|{True|False}|Specifies whether detailed feedback is suppressed. Defaults to False.|
3737
|**/SourceFile:**|**/sf**|{string}|Specifies a source file to be used as the source of action. If this parameter is used, no other source parameter shall be valid. |
3838
|**/TargetConnectionString:**|**/tcs**|{string}|Specifies a valid SQL Server/Azure connection string to the target database. If this parameter is specified, it shall be used exclusively of all other target parameters. |
39-
|**/TargetDatabaseName:**|**/tdn**|{string}|Specifies an override for the name of the database that is the target ofsqlpackage.exe Action. |
39+
|**/TargetDatabaseName:**|**/tdn**|{string}|Specifies an override for the name of the database that is the target of sqlpackage.exe Action. |
4040
|**/TargetEncryptConnection:**|**/tec**|{True|False}|Specifies if SQL encryption should be used for the target database connection. |
4141
|**/TargetPassword:**|**/tp**|{string}|For SQL Server Auth scenarios, defines the password to use to access the target database. |
4242
|**/TargetServerName:**|**/tsn**|{string}|Defines the name of the server hosting the target database. |

docs/tools/sqlpackage/sqlpackage-publish.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ ms.assetid: 198198e2-7cf4-4a21-bda4-51b36cb4284b
99
author: "dzsquared"
1010
ms.author: "drskwier"
1111
ms.reviewer: "maghan; sstein"
12-
ms.date: 3/10/2021
12+
ms.date: 6/10/2021
1313
---
1414

1515
# SqlPackage Publish parameters, properties, and SQLCMD variables
16-
The SqlPackage.exe publish operation incrementally updates the schema of a target database to match the structure of a source database. Publishing a deployment package that contains user data for all or a subset of tables update the table data in addition to the schema. Data deployment overwrites the schema and data in existing tables of the target database. Data deployment will not change existing schema or data in the target database for tables not included in the deployment package.
16+
The SqlPackage.exe publish operation incrementally updates the schema of a target database to match the structure of a source database. Publishing a deployment package that contains user data for all or a subset of tables update the table data in addition to the schema. Data deployment overwrites the schema and data in existing tables of the target database. Data deployment will not change existing schema or data in the target database for tables not included in the deployment package. A new database can be created by the publish action when the authenticated user has [create database permissions](/sql/t-sql/statements/create-database-transact-sql#permissions).
1717

1818
## Command-line syntax
1919

0 commit comments

Comments
 (0)