Skip to content

Commit 830aab6

Browse files
authored
Fix example command for ExtractTarget
When running the example, it returns an error: ``` *** 'ExtractTarget:File' is not a valid argument for the 'Extract' action. *** The specified property 'ExtractTarget:File' is not valid. Properties are specified as name=value. ``` This change fixes the command
1 parent 7d193eb commit 830aab6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/tools/sqlpackage/sqlpackage-extract.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ SqlPackage /Action:Extract /TargetFile:{filename}.dacpac /DiagnosticsFile:{logFi
3333

3434
# example extract to create a .sql file containing the schema definition of the database
3535
SqlPackage /Action:Extract /TargetFile:{filename}.dacpac /DiagnosticsFile:{logFile}.log /SourceServerName:{serverFQDN} \
36-
/SourceDatabaseName:{databaseName} /SourceUser:{username} /SourcePassword:{password} /p:ExtractTarget:File
36+
/SourceDatabaseName:{databaseName} /SourceUser:{username} /SourcePassword:{password} /p:ExtractTarget=File
3737

3838
# example extract to create a .dacpac file with data connecting using SQL authentication
3939
SqlPackage /Action:Extract /TargetFile:{filename}.dacpac /DiagnosticsFile:{logFile}.log /p:ExtractAllTableData=true /p:VerifyExtraction=true \

0 commit comments

Comments
 (0)