microsoft / microsoft/go-sqlcmd

Add "database" to sqlconfig file (useful for creating contexts to specific user DBs in Azure SQL)

Open
#297 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement sqlcmd switch
Dominant language
Go
Stars
595
Forks
91
Avg merge
9h 35m
Merged PRs (30d)
1

Description

Enabled endpoints to be created with default database set, useful for Azure SQL connections. (the local container instances created with sqlcmd create set the default database on the login, so database not needed in the sqlconfig file)

Contributor guide

No contributing guide indexed for this repository

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 by locating the sqlconfig handling and the endpoint creation path used by sqlcmd, then compare it with the sqlcmd create behavior for local containers. Add support for a default database for Azure SQL connections while preserving existing local-container behavior, and verify that contexts connect to the configured database.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, go, sql
Domain
cli, cloud, database
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.