Conversation
…formatting in scripts
… related documentation
…n and update related tests
…ulti-line INSERT statements and update related tests
- Updated SqlChangeTracker to include CLR stored procedures (type 'PC') and table-valued functions (type 'FT') in the introspection and scripting processes. - Added functionality to script CLR stored procedures and table-valued functions, including their parameters and return types. - Enhanced the normalization process for CLR table-valued functions to suppress differences related to NULL tokens and formatting. - Implemented tests to verify the inclusion and correct scripting of CLR objects. - Updated the SyncCommandService to handle differences in CLR functions and queues more effectively.
…ema-less object selectors
…rties during comparison
…s during comparison
…e scripts and update related tests
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request expands the schema scripting and comparison capabilities of the project, with a focus on improved compatibility handling, new object types, and more comprehensive scripting rules. Notably, it adds support for scripting SQL CLR objects, standalone table statistics, and enhances normalization and compatibility logic for schema and data comparisons.
Scripting and Discovery Enhancements
FunctionandStoredProcedureobjects. [1] [2] [3] [4] [5]dbowhen it has explicit schema permissions or schema-level extended properties, without emittingCREATE SCHEMA. [1] [2] [3]Comparison and Normalization Improvements
statusanddiffto treat many equivalent script variations as compatible, including whitespace-only lines, role membership syntax, queue options, Service Broker contract/service formatting, message-type validation, extended-property ordering, andTableDatarow ordering. [1] [2] [3]Preservation and Reconciliation
NULLtokens in CLR table-valued function return columns during compatibility reconciliation.Other Notable Additions
These changes collectively make the tool more robust, compatible with legacy and canonical formats, and able to script and compare a wider range of SQL Server object types with higher fidelity.