Skip to content

migrate sql scripts#2110

Open
todorarabadzhiev wants to merge 20 commits intomasterfrom
todor-snippets-sql
Open

migrate sql scripts#2110
todorarabadzhiev wants to merge 20 commits intomasterfrom
todor-snippets-sql

Conversation

@todorarabadzhiev
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates embedded SQL/MDX examples in the documentation to centralized snippet references using the {{source=...}} include syntax, to reduce duplication and simplify maintenance of query examples across the docs.

Changes:

  • Replaced inline fenced SQL/MDX code blocks with {{source=CodeSnippets\\CS\\SQL\\...}} includes across WRD and Reporting docs.
  • Standardized repeated query examples (for maps, charts, parameters, and data sources) to reference shared snippet files.

Reviewed changes

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
wrd-user-guide/query-builder.md Replaces inline SQL with a snippet include for Query Builder example.
wrd-user-guide/components/subreport-item/creating-master-detail-report.md Replaces Northwind SQL examples with snippet includes.
wrd-user-guide/components/maps.md Replaces AdventureWorks SQL used for map data with a snippet include.
report-items/table-crosstab-list/get-started.md Replaces Crosstab demo SQL with a snippet include.
report-items/map/get-started.md Replaces Map wizard SQL with a snippet include.
report-items/graph/chart-types/scatter.md Replaces Scatter/Bubble example query with a snippet include.
report-items/graph/chart-types/range.md Replaces Range chart example query with a snippet include.
report-items/graph/chart-types/polar.md Replaces Polar chart example query with a snippet include.
report-items/graph/chart-types/pie.md Replaces Pie chart example query with a snippet include.
report-items/graph/chart-types/line.md Replaces Line chart example query with a snippet include.
report-items/graph/chart-types/column.md Replaces Column chart example query with a snippet include.
report-items/graph/chart-types/bar.md Replaces Bar chart example query with a snippet include.
report-items/graph/chart-types/area.md Replaces Area chart example query with a snippet include.
getting-started/first-steps-designing.md Replaces initial walkthrough SQL with a snippet include.
designing-reports/report-designer-tools/desktop-designers/tools/report-wizards/band-report-wizard/how-to-use-the-report-wizard-to-create-a-band-report.md Replaces Band report wizard SQL with a snippet include.
designing-reports/connecting-to-data/report-parameters/using-multivalue-parameters.md Replaces multivalue parameter SQL examples with snippet includes.
designing-reports/connecting-to-data/report-parameters/how-to-cascade-parameters-with-applied-filtering-on-report-level.md Replaces cascading-parameters SQL examples with snippet includes.
designing-reports/connecting-to-data/report-parameters/how-to-cascade-parameters-with-applied-filtering-on-data-source-level.md Replaces data-source-level cascading SQL examples with snippet includes.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/using-parameters-with-the-sqldatasource-component.md Replaces named/positional parameter SQL examples with snippet includes.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/selecting-data-with-the-sqldatasource-component.md Replaces select and stored procedure SQL examples with snippet includes.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/how-to-connect-to-a-sql-database.md Replaces parameterized select SQL with a snippet include.
designing-reports/connecting-to-data/data-source-components/sqldatasource-component/connecting-the-sqldatasource-component-to-a-data-source.md Replaces parameterized select SQL with a snippet include.
designing-reports/connecting-to-data/data-source-components/cubedatasource-component/specifying-query-parameters-with-the-cubedatasource-component.md Replaces MDX examples with snippet includes.
designing-reports/connecting-to-data/data-source-components/cubedatasource-component/selecting-data-from-an-olap-cube-with-the-cubedatasource-component.md Replaces MDX example with a snippet include.
designing-reports/connecting-to-data/data-items/how-to-use-the-reportitem.dataobject-property-in-expressions.md Replaces inline SQL examples with snippet includes.
designing-reports/connecting-to-data/data-items/how-to-nest-a-graph-item-in-a-table-item.md Replaces crosstab SQL example with a snippet include.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 26 out of 26 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@todorarabadzhiev todorarabadzhiev force-pushed the todor-snippets-sql branch 2 times, most recently from f680e03 to d10d27e Compare April 8, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants