Skip to content

Removed extract description of data#9592

Closed
way0utwest wants to merge 1 commit into
MicrosoftDocs:livefrom
way0utwest:patch-48
Closed

Removed extract description of data#9592
way0utwest wants to merge 1 commit into
MicrosoftDocs:livefrom
way0utwest:patch-48

Conversation

@way0utwest
Copy link
Copy Markdown
Contributor

extract creates a dacpac with schema. No user data is included. Export gets data into a bacpac file with schema.

extract creates a dacpac with schema. No user data is included. Export gets data into a bacpac file with schema.
@prmerger-automator
Copy link
Copy Markdown
Contributor

@way0utwest : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@learn-build-service-prod
Copy link
Copy Markdown
Contributor

Learn Build status updates of commit 72f924f:

✅ Validation status: passed

File Status Preview URL Details
docs/tools/sqlpackage/sqlpackage.md ✅Succeeded

For more details, please refer to the build report.

For any questions, please:

@dzsquared
Copy link
Copy Markdown
Member

dzsquared commented Jan 6, 2024

Hiya!
We don't talk about it much, but you can include data in a dacpac if you add specific properties.
For example, if you added /p:ExtractAllTableData=true, your dacpac would contain the data for all of your tables as well.

Alternatively, you could add properties for /p:TableData=SalesLT.Customer and /p:TableData=SalesLT.Address, which would cause your dacpac to only contain the data for those 2 tables.

@way0utwest
Copy link
Copy Markdown
Contributor Author

That's interesting, I found other places where it says dacpac is only data. This only mentions schema for dacpac (https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/data-tier-applications?view=sql-server-ver16) and this says only objects (https://learn.microsoft.com/en-us/sql/relational-databases/data-tier-applications/extract-a-dac-from-a-database?view=sql-server-ver16)

I think this is cool, and I learned something. I suspect other files need to be updated to note data, and this likely needs a little guidance. Feel free to reject this and I'll try to come up with something better that explains this.

@Court72
Copy link
Copy Markdown
Contributor

Court72 commented Jan 8, 2024

@dzsquared

If the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

If this PR should be closed instead, enter a #please-close comment.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@prmerger-automator prmerger-automator Bot added the aq-pr-triaged tracking label for the PR review team label Jan 8, 2024
@rwestMSFT
Copy link
Copy Markdown
Contributor

I'm going to close this one, Steve, based on Drew's feedback. Thanks for the contribution.

@rwestMSFT rwestMSFT closed this Jan 8, 2024
@dzsquared
Copy link
Copy Markdown
Member

@way0utwest - I've noted the issues with the pages you linked that incorrectly describe the limitations on dacpacs/extract. Will message you via other channels to validate if I'm sufficiently clearing it up. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants