dsccommunity / dsccommunity/SqlServerDsc

SqlSetup: The resource should support the action REBUILDDATABASE

Open
#761 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
PowerShell
Stars
385
Forks
224
PR merge metrics
No merged PRs in 30d

Description

If SQL is already installed on a machine (such as Azure images) then using xSqlServerSetup to change any of the other configurations other than Features doesn't do anything.

Should we extend xSqlServerSetup Test-TargetResource to include checking collation (and eventually all the other possible settings)?

Do we want to extend xSqlServerDatabase to also allow setting collation that isn't the same as the server level one.

I'm happy to work on a PR for the xSqlServerSetup section.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with xSqlServerSetup and its Test-TargetResource behavior, then compare the requested REBUILDDATABASE and collation handling with the related xSqlServerDatabase questions. Done should mean that the supported scope is decided and the resource correctly detects and applies the agreed configuration changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
powershell, sql
Domain
databases, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.