Skip to content

Conversation

@dlevy-msft-sql
Copy link
Contributor

Summary

Updates the README.md to fix documentation freshness issues and improve accuracy.

Changes

Fixed Issues

  1. Discussion link typo: Fixed link text from Require --password-encryption for add-user #293 to Prioritize implementation of back-compat flags #292 (the link URL was correct but display text was wrong)

  2. Updated 'Switches not available' section: Reflects current implementation state

    • Most switches from the original discussion have now been implemented: -e, -f, -g, -k, -t, -z, -Z, -r, -X\
    • Only -j\ (raw error messages) and -p[1]\ (print statistics) remain unimplemented
    • Changed from vague text to a clear table of remaining items
  3. Fixed ActiveDirectoryIntegrated description: Removed outdated text saying it falls back to ActiveDirectoryDefault (it's now fully implemented)

  4. Added missing authentication methods to :Connect documentation:

    • \ActiveDirectoryInteractive\
    • \ActiveDirectoryAzCli\
    • \ActiveDirectoryDeviceCode\
  5. Documented additional authentication methods that are available via --authentication-method:

    • \ActiveDirectoryWorkloadIdentity\
    • \ActiveDirectoryClientAssertion\
    • \ActiveDirectoryAzurePipelines\
    • \ActiveDirectoryEnvironment\
    • \ActiveDirectoryAzureDeveloperCli\
    • \ActiveDirectoryServicePrincipalAccessToken\
    • \SqlPassword\

Related

This addresses documentation freshness issues identified when comparing the README with the actual implementation in \cmd/sqlcmd/sqlcmd.go\ and the Microsoft Learn documentation.

Testing

Documentation-only change - no functional changes.

- Fix discussion link typo (microsoft#293 -> microsoft#292)
- Update 'Switches not available' section to reflect current state
  - Most switches now implemented (-e, -f, -g, -k, -t, -z, -Z, -r, -X)
  - Only -j and -p[1] remain unimplemented
- Add missing authentication methods to :Connect documentation
  - ActiveDirectoryInteractive, ActiveDirectoryAzCli, ActiveDirectoryDeviceCode
- Fix ActiveDirectoryIntegrated description (no longer falls back)
- Document additional authentication methods:
  - ActiveDirectoryWorkloadIdentity
  - ActiveDirectoryClientAssertion
  - ActiveDirectoryAzurePipelines
  - ActiveDirectoryEnvironment
  - ActiveDirectoryAzureDeveloperCli
  - ActiveDirectoryServicePrincipalAccessToken
  - SqlPassword
@dlevy-msft-sql dlevy-msft-sql self-assigned this Jan 27, 2026
@dlevy-msft-sql dlevy-msft-sql added documentation Improvements or additions to documentation Size: S Small issue (less than one week effort) labels Jan 27, 2026
Copy link

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 updates the README.md to improve documentation freshness and accuracy by correcting outdated information and adding missing details.

Changes:

  • Fixed discussion link typo from #293 to #292
  • Updated "Switches not available" section to reflect current implementation (most switches now implemented, only -j and -p[1] remain)
  • Corrected ActiveDirectoryIntegrated authentication description (removed outdated fallback text)
  • Added missing authentication methods to documentation (ActiveDirectoryInteractive, ActiveDirectoryAzCli, ActiveDirectoryDeviceCode, and additional methods via --authentication-method)

@dlevy-msft-sql dlevy-msft-sql added this to the v1.9.2 milestone Jan 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation Size: S Small issue (less than one week effort)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant