microsoft / microsoft/sqlmanagementobjects
Sql Management Objects Scripting Bugs
Open
@shueybubbles is already working on this.
Since Dec 6, 2019.
- Dominant language
- C#
- Stars
- 143
- Forks
- 28
- PR merge metrics
- No merged PRs in 30d
Description
A couple bugs I've noticed when using the Sql Management Objects Scripter class.
- SMO does not generate default constraints inline, but instead generates an ALTER TABLE script. More details here.
- When passing an array of
SqlSmoObjects toScripter.Script()with the option "IncludeHeaders" turned on, it is not ordering the scripts correctly. Any ALTER scripts are not ordered under the header for the object they belong to, and are instead listed at the end of the scripts. This is very problematic if you're trying to keep the scripts for a given object together.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.