You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* [T-SQL] address build validation
* Staging vector functions preview for SQL MI
* [T-SQL] Remove warnings from previous Pr
* Adding file blocking workflow to repo for build 2025 (#33856)
* Testing workflow
* Testing workflow 2
* Testing workflow 3
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33852)
* 4/14/2025 PM Publish (#33808)
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
---------
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
* 4/15/2025 AM Publish (#33813)
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
---------
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
* 4/15/2025 PM Publish (#33816)
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
* Update sys-dm-db-missing-index-group-stats-query-transact-sql.md
Removing the note from the remarks section.
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Edit pass
* Applying changes from review
* 170 release notes
* Update parameter-sensitive-plan-optimization.md
Update query hint
* Remove duplicate use hint documentation (#33815)
---------
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
* 4/16/2025 AM Publish (#33820)
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
* Update sys-dm-db-missing-index-group-stats-query-transact-sql.md
Removing the note from the remarks section.
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Edit pass
* Applying changes from review
* 170 release notes
* Update parameter-sensitive-plan-optimization.md
Update query hint
* Remove duplicate use hint documentation (#33815)
---------
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
* 4/16/2025 PM Publish (#33826)
* SUBSTRING enhancements for Azure SQL
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
* Update sys-dm-db-missing-index-group-stats-query-transact-sql.md
Removing the note from the remarks section.
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Edit pass
* Applying changes from review
* 170 release notes
* Update parameter-sensitive-plan-optimization.md
Update query hint
* Remove duplicate use hint documentation (#33815)
* Update substring syntax.
* [PLEASE SQUASH] Staging lrs & mi link comparison (#33747)
* Staging lrs & mi link comparison
* fixing link
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
Co-authored-by: Mike Ray <15928587+MikeRayMSFT@users.noreply.github.com>
* 4/17/2025 AM Publish (#33833)
* SUBSTRING enhancements for Azure SQL
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
* Update sys-dm-db-missing-index-group-stats-query-transact-sql.md
Removing the note from the remarks section.
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Edit pass
* Applying changes from review
* 170 release notes
* Update parameter-sensitive-plan-optimization.md
Update query hint
* Remove duplicate use hint documentation (#33815)
* Update substring syntax.
* [PLEASE SQUASH] Staging lrs & mi link comparison (#33747)
* Staging lrs & mi link comparison
* fixing link
* Update sys-fulltext-catalogs-transact-sql.md
* SqlPackage with Parquet files (#33819)
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
* Update replication-security-best-practices.md
Based on chat with Sasa Popovic
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
Co-authored-by: Mike Ray <15928587+MikeRayMSFT@users.noreply.github.com>
* 4/17/2025 PM Publish (#33843)
* SUBSTRING enhancements for Azure SQL
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
* Update sys-dm-db-missing-index-group-stats-query-transact-sql.md
Removing the note from the remarks section.
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Learn Editor: Update authentication-azure-ad-user-assigned-managed-identity.md
* Edit pass
* Applying changes from review
* 170 release notes
* Update parameter-sensitive-plan-optimization.md
Update query hint
* Remove duplicate use hint documentation (#33815)
* Update substring syntax.
* [PLEASE SQUASH] Staging lrs & mi link comparison (#33747)
* Staging lrs & mi link comparison
* fixing link
* Update sys-fulltext-catalogs-transact-sql.md
* SqlPackage with Parquet files (#33819)
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
* Update replication-security-best-practices.md
Based on chat with Sasa Popovic
* Light upgrade refresh (UUF 419735)
* Refresh master database restore article (UUF 420834) (#33842)
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
Co-authored-by: Mike Ray <15928587+MikeRayMSFT@users.noreply.github.com>
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: Jodi Martis <v-jodimartis@microsoft.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: Pratim Dasgupta <111895613+PratimDasgupta@users.noreply.github.com>
Co-authored-by: chroux <116909371+chopsakie@users.noreply.github.com>
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
Co-authored-by: Jovan Popovic (MSFT) <jovanpop@microsoft.com>
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Ajith Krishnan <61177957+ajithkr-ms@users.noreply.github.com>
Co-authored-by: Masha MSFT <32783170+MashaMSFT@users.noreply.github.com>
Co-authored-by: Regan Downer <v-rdowner@microsoft.com>
Co-authored-by: William Assaf MSFT <74387232+WilliamDAssafMSFT@users.noreply.github.com>
Co-authored-by: learn-build-service-prod[bot] <113403604+learn-build-service-prod[bot]@users.noreply.github.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: Learn Build Service GitHub App <Learn Build Service LearnBuild@microsoft.com>
Co-authored-by: Jill Grant <72043882+JillGrant615@users.noreply.github.com>
Co-authored-by: sudhanshukhera <skhera@microsoft.com>
Co-authored-by: Dimitri Furman <dfurman@microsoft.com>
Co-authored-by: Drew Skwiers-Koballa <dzsquared@users.noreply.github.com>
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
Co-authored-by: Steve Jones <steve.jones@red-gate.com>
Co-authored-by: Alex Wolf <alexwolf@microsoft.com>
Co-authored-by: Nicolas Blais Miko <nicolas.blais-miko@polymtl.ca>
Co-authored-by: Daniel Adeniji <daniel_adeniji@hotmail.com>
Co-authored-by: David Levy <194277063+dlevy-msft-sql@users.noreply.github.com>
Co-authored-by: mhyon <matt.hyon@microsoft.com>
Co-authored-by: Derek Wilson <34077013+thesqlsith@users.noreply.github.com>
Co-authored-by: Drew Skwiers-Koballa <drew.koballa@gmail.com>
Co-authored-by: Mike Ray <15928587+MikeRayMSFT@users.noreply.github.com>
* Update sqlcmd-authentication.md
Update to include example for service principal auth
* Update ms.date in sqlcmd-authentication.md
* Fix broken links (#33835)
* Address replication functionality for custom stored procedures
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33865)
* 4/14/2025 PM Publish (#33808)
* [Azure SQL Database] Copilot GA release
* Fabric changes for sp-rename and ALTER TABLE articles
* [Azure SQL Database] Copilot GA release
* made edits to the FAQ and removed some sample prompts
* remove erroneous file
* Moved the table of copilot prompts to a separate file and linked to it from the over view file
* move the note
* edit table file
* acrolinx improvement
* add description to prompt file
* Removed all references to preview
* edit best practices section
* fix broken link
* remove line 78
* add to tOC
* Update docs/t-sql/statements/alter-table-transact-sql.md
* update metadata
* edit intro paragraph and H1 title
* minor edits
* add migration tags
* minor edits
* add an additional link to related content area
* Update create-user-transact-sql.md
Sid + type is also on Azure SQL Database
* Update authentication-azure-ad-user-assigned-managed-identity.md
Update the SMI portion of the Azure SQL DB to make use of the sid+type syntax.
* Learn Editor: Update create-view-transact-sql.md
* update Metadata
* Learn Editor: Update create-view-transact-sql.md
* Learn Editor: Update grant-object-permissions-transact-sql.md
* update Metadata
* Learn Editor: Update grant-object-permissions-transact-sql.md
* correct typos and add question back to FAQ
* [Azure SQL Database] more copilot edits
* acrolinx improvement
* acrolinx improvements
* some more branding changes and minor edits
* remove additional include file
* pulling PRs to private
* edit
* [Azure SQL Database] minor edits and updates
* Added missing column in output table
Added the missing 'job_name' column in the output table.
* Minor improvements
* Apply suggestions from code review
Co-authored-by: Chad Kittel <chad.kittel@gmail.com>
* At-scale migration assessment for SQL Server enabled by Azure Arc
* Staging IO Analysis GA
* Update docs/t-sql/statements/grant-object-permissions-transact-sql.md
Co-authored-by: Van To <40007119+VanMSFT@users.noreply.github.com>
* 20250409 schemabinding
* Confirm merge from FromPublicRepo to main to sync with https://github.com/MicrosoftDocs/sql-docs (branch live) (#33773)
* 4/8/2025 AM Publish (#33752)
* Fix include file and refresh associated articles
* [SCOPED] SQL Tools content: Update author, add ms.collection, fix metadata
* added edge case when the parameter is 0
* Edit pass
* Update sys-databases-transact-sql.md
* Merge pull request #33738 from MicrosoftDocs/release-azure-sql-copilot-ga
[Azure SQL Database] Azure SQL Database Copilot - Release branch to main 04/08/2025 @ 1030am PST
---------
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* Added missing column in output table
Added the missing 'job_name' column in the output table.
---------
Co-authored-by: Bo wen Yang <160521015+Albertyang0@users.noreply.github.com>
Co-authored-by: Randolph West MSFT <97149825+rwestMSFT@users.noreply.github.com>
Co-authored-by: James Barnett <v-jabarnett@microsoft.com>
Co-authored-by: YanoOfQueenscastle <151081922+YanoOfQueenscastle@users.noreply.github.com>
Co-authored-by: TWINKLE CYRIL <53920725+twinklecyril@users.noreply.github.com>
Co-authored-by: prmerger-automator[bot] <40007230+prmerger-automator[bot]@users.noreply.github.com>
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: finnigd <138986077+finnigd@users.noreply.github.com>
* correct conflict
* reworked the order
* Update docs/t-sql/statements/create-view-transact-sql.md
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
* 20250409 1059 edit pass
* 20250409 edit pass acrolinx
* Updated steps for NSP (#33759)
* Updated steps for NSP
* Fixed image path
* review and remove sensitive info
* edit
* rename image resources
---------
Co-authored-by: VanMSFT <40007119+VanMSFT@users.noreply.github.com>
* Remove a fixed known issue
* Correct extra script contents info (#33787)
* SQL tools content freshness pass (#33754)
Co-authored-by: Erin Stellato <98599126+erinstellato-ms@users.noreply.github.com>
* Update import-flat-file-wizard.md (#10062)
* Update .NET passwordless flow
update tabs
simplify code
* Edit pass
* Update azure-sql/virtual-machines/windows/storage-performance-analysis.md
* Add a best practice for dropping resource pools (#33783)
* Update sql-server-linux-configure-mssql-conf.md (#33728)
* Update create-function-transact-sql.md
Immaterial Revision
Schema Binding Section
The binding of the function to the objects it references is removed only when one of the following actions occurs:
The binding of the function to the objects it references is removed only when ne of the following actions occurs:
* Update create-columnstore-index-transact-sql.md (#33798)
* Updated for serverless (#33794)
---------
Co-authored-by: Mark Ghanayem <22989000+markingmyname@users.noreply.github.com>
Co-authored-by: Alma Jenks <v-alje@microsoft.com>
Co-authored-by: TWIN…
Copy file name to clipboardExpand all lines: docs/linux/sql-server-linux-backup-and-restore-database.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ ms.custom:
18
18
You can take backups of databases from SQL Server on Linux with many different options. On a Linux server, you can use **sqlcmd** to connect to the SQL Server and take backups. From Windows, you can connect to SQL Server on Linux and take backups with the user interface. The backup functionality is the same across platforms. For example, you can backup databases locally, to remote drives, or to [SQL Server backup to URL for Microsoft Azure Blob Storage](../relational-databases/backup-restore/sql-server-backup-to-url.md).
19
19
20
20
> [!IMPORTANT]
21
-
> SQL Server on Linux only supports backing up to Azure Blob storage using block blobs. Using a storage key for backup and restore will result in a page blog being used, which isn't supported. Use a Shared Access Signature instead. For information on block blogs versus page blogs, see [Backup to block blob vs. page blob](../relational-databases/backup-restore/sql-server-backup-to-url.md#blockbloborpageblob).
21
+
> SQL Server on Linux only supports backing up to Azure Blob storage using block blobs. Using a storage key for backup and restore will result in a page blog being used, which isn't supported. Use a Shared Access Signature instead. For information on block blobs versus page blobs, see [Backup to block blob vs. page blob](../relational-databases/backup-restore/sql-server-backup-to-url.md#blockbloborpageblob).
By default transactional replication makes all data changes at Subscribers through stored procedures that are generated by internal procedures for each table article in the publication. The three procedures (one each for inserts, updates, and deletes) are copied to the Subscriber and execute when an insert, update, or delete is replicated to the Subscriber. When a schema change is made to a table on a [!INCLUDE[ssNoVersion](../../../includes/ssnoversion-md.md)] Publisher, replication regenerates these procedures automatically by calling the same set of internal scripting procedures so that the new procedures match the new schema (replication of schema changes is not supported for Oracle Publishers).
21
-
22
-
It is also possible to specify custom procedures to replace one or more of the default procedures. The custom procedures should be changed if the schema change will affect the procedure. For example, if a procedure references a column that is dropped in a schema change, references to the column should be removed from the procedure. There are two ways for replication to propagate a new custom procedure to Subscribers:
23
-
24
-
- The first option is to use a custom scripting procedure to replace the defaults used by replication:
25
-
26
-
1. When executing [sp_addarticle (Transact-SQL)](../../../relational-databases/system-stored-procedures/sp-addarticle-transact-sql.md), ensure the `@schema_option` 0x02 bit is to **true**.
27
-
28
-
2. Execute [sp_register_custom_scripting (Transact-SQL)](../../../relational-databases/system-stored-procedures/sp-register-custom-scripting-transact-sql.md) and specify a value of 'insert', 'update', or 'delete' for the parameter `@type` and the name of the custom scripting procedure for the parameter `@value`.
29
-
30
-
The next time a schema change is made, replication calls this stored procedure to script out the definition for the new user defined custom stored procedure, and then propagates the procedure to each Subscriber.
31
-
32
-
- The second option is to use a script that contains a new custom procedure definition:
33
-
34
-
1. When executing [sp_addarticle (Transact-SQL)](../../../relational-databases/system-stored-procedures/sp-addarticle-transact-sql.md), set the `@schema_option` 0x02 bit to **false** so replication does not automatically generate custom procedures at the Subscriber.
35
-
36
-
2. Before each schema change, create a new script file and register the script with replication by executing [sp_register_custom_scripting (Transact-SQL)](../../../relational-databases/system-stored-procedures/sp-register-custom-scripting-transact-sql.md). Specify a value of 'custom_script' for the parameter `@type` and the path to the script on the Publisher for the parameter `@value`.
37
-
38
-
The next time a relevant schema change is made, this script executes on each Subscriber within the same transaction as the DDL command. After the schema change is made, the script is unregistered. You must re-register the script to have it executed after a subsequent schema change.
By default, transactional replication makes all data changes at Subscribers through stored procedures that are generated by internal procedures, for each table article in the publication. The three procedures (one each for inserts, updates, and deletes) are copied to the Subscriber and executed when an insert, update, or delete is replicated to the Subscriber.
24
+
25
+
When a schema change is made to a table on a [!INCLUDE [ssNoVersion](../../../includes/ssnoversion-md.md)] Publisher, replication regenerates these procedures automatically by calling the same set of internal scripting procedures so that the new procedures match the new schema (replication of schema changes isn't supported for Oracle Publishers).
26
+
27
+
You can also specify custom procedures to replace one or more of the default procedures. The custom procedures should be changed if the schema change affects the procedure. For example, if a procedure references a column that is dropped in a schema change, references to the column should be removed from the procedure.
28
+
29
+
There are two ways for replication to propagate a new custom procedure to Subscribers:
30
+
31
+
- Use a custom scripting procedure to replace the defaults used by replication
32
+
- Use a script that contains a new custom procedure definition
33
+
34
+
## Use a custom scripting procedure to replace the defaults used by replication
35
+
36
+
When you execute [sp_addarticle](../../system-stored-procedures/sp-addarticle-transact-sql.md), ensure the *@schema_option*`0x02` bit is to `true`.
37
+
38
+
> [!NOTE]
39
+
> The custom stored procedure definition must be scripted using dynamic Transact-SQL, inside a wrapper stored procedure. This wrapper stored procedure must also include an *@artid* parameter of type **int**, to ensure that it's created on the Subscriber.
40
+
41
+
Execute [sp_register_custom_scripting](../../system-stored-procedures/sp-register-custom-scripting-transact-sql.md) and specify a value of `insert`, `update`, or `delete` for the *@type* parameter, and the name of the custom scripting procedure for the *@value* parameter.
42
+
43
+
The next time a schema change is made, replication calls this stored procedure to script out the definition for the new user defined custom stored procedure, and then propagates the procedure to each Subscriber.
44
+
45
+
### Example
46
+
47
+
In this example, assume that the Publisher and Subscriber are already configured, and you want to create a custom `delete` stored procedure.
48
+
49
+
1. On the Subscriber, create a table to showcase the custom delete script.
50
+
51
+
```sql
52
+
USE [SubscriberDB];
53
+
GO
54
+
55
+
CREATETABLEDeleteLogging (id INTPRIMARY KEY);
56
+
GO
57
+
```
58
+
59
+
1. Add the article from the Publisher. Note the values of the `@schema_option`, `@ins_cmd`, `@upd_cmd`, and `@del_cmd` parameters:
1. Create a stored procedure that scripts out the `custom_delete` stored procedure you want to use on the Subscriber. This is the wrapper stored procedure, as indicated previously.
85
+
86
+
Returning non-zero values from this stored procedure results in `custom_delete` not being created on the Subscriber. The `SELECT` should return the full `CREATE` definition of the stored procedure that will be used on the Subscriber.
87
+
88
+
Note the use of the required `@artid` parameter.
89
+
90
+
```sql
91
+
USE [PublisherDB];
92
+
GO
93
+
94
+
CREATE OR ALTER PROCEDURE script_custom_delete (@artid INT)
95
+
AS
96
+
BEGIN
97
+
SELECT'CREATE OR ALTER PROCEDURE custom_delete
98
+
@pkc1 INT
99
+
AS
100
+
BEGIN
101
+
INSERT INTO DeleteLogging (id) VALUES (@pkc1)
102
+
END';
103
+
RETURN 0;
104
+
END
105
+
GO
106
+
```
107
+
108
+
1. Register the custom script on the Publisher.
109
+
110
+
```sql
111
+
USE [PublisherDB];
112
+
GO
113
+
114
+
EXECUTE sp_register_custom_scripting
115
+
@type ='delete',
116
+
@value ='script_custom_delete',
117
+
@publication ='PubName1',
118
+
@article ='Purchases';
119
+
GO
120
+
```
121
+
122
+
1. Add a subscription. In this example, the `@sync_type` parameter is set to `replication support only`, so no snapshot is used.
123
+
124
+
```sql
125
+
USE [PublisherDB];
126
+
GO
127
+
128
+
EXECUTE sp_addsubscription
129
+
@publication = N'PubName1',
130
+
@subscriber = @@SERVERNAME,
131
+
@destination_db = N'SubscriberDB',
132
+
@subscription_type = N'Push',
133
+
@sync_type = N'replication support only',
134
+
@article = N'all',
135
+
@update_mode = N'read only',
136
+
@subscriber_type =0;
137
+
GO
138
+
```
139
+
140
+
## Use a script that contains a new custom procedure definition
141
+
142
+
When you execute [sp_addarticle](../../system-stored-procedures/sp-addarticle-transact-sql.md), set the *@schema_option*`0x02` bit to `false` so replication doesn't automatically generate custom procedures at the Subscriber.
143
+
144
+
Before each schema change, create a new script file and register the script with replication by executing [sp_register_custom_scripting](../../system-stored-procedures/sp-register-custom-scripting-transact-sql.md). Specify a value of `custom_script` for the *@type* parameter, and the path to the script on the Publisher for the *@value* parameter.
145
+
146
+
The next time a relevant schema change is made, this script executes on each Subscriber within the same transaction as the DDL command. After the schema change is made, the script is unregistered. You must re-register the script to have it execute after a subsequent schema change.
147
+
40
148
## Related content
41
149
42
-
-[Specify How Changes Are Propagated for Transactional Articles](../../../relational-databases/replication/transactional/transactional-articles-specify-how-changes-are-propagated.md)
43
-
-[Make Schema Changes on Publication Databases](../../../relational-databases/replication/publish/make-schema-changes-on-publication-databases.md)
150
+
-[Transactional Articles - Specify How Changes Are Propagated](transactional-articles-specify-how-changes-are-propagated.md)
151
+
-[Make Schema Changes on Publication Databases](../publish/make-schema-changes-on-publication-databases.md)
Copy file name to clipboardExpand all lines: docs/relational-databases/system-stored-procedures/sp-register-custom-scripting-transact-sql.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ description: sp_register_custom_scripting registers a stored procedure or Transa
4
4
author: markingmyname
5
5
ms.author: maghan
6
6
ms.reviewer: randolphwest
7
-
ms.date: 08/22/2024
7
+
ms.date: 04/21/2025
8
8
ms.service: sql
9
9
ms.subservice: replication
10
10
ms.topic: "reference"
@@ -74,7 +74,7 @@ Name of the article for which the custom stored procedure or script is being reg
74
74
75
75
`sp_register_custom_scripting` is used in snapshot and transactional replication.
76
76
77
-
This stored procedure should be executed before making a schema change to a replicated table. For more information about using this stored procedure, see [Transactional Articles - Regenerate to Reflect Schema Changes](../replication/transactional/transactional-articles-regenerate-to-reflect-schema-changes.md).
77
+
This stored procedure should be executed before making a schema change to a replicated table. For more information about using this stored procedure, see [Transactional articles - Regenerate custom procedures to reflect schema changes](../replication/transactional/transactional-articles-regenerate-to-reflect-schema-changes.md).
0 commit comments