microsoft / microsoft/vscode-mssql

[Bug]: Schema Design Table edit dialog doesn't show length for varchar columns

Open
#21,470 0 comments 0 reactions 0 assignees View on GitHub
Area - Table Designer Bug User-filed
Dominant language
TypeScript
Stars
1.9k
Forks
610
Avg merge
2d 3h
Merged PRs (30d)
97

Description

### Description

mssql: 1.41.0

### Steps to Reproduce

1- open schema design on a db
2- create table with varchar (100) column
3- click on edit on the table
4- check the length of the varchar column

### Affected Area

- [ ] Connection dialog (SQL Server | Azure browse/Fabric browse)
- [ ] Query editor
- [ ] Query results panel
- [ ] Object Explorer
- [ ] GitHub Copilot integration
- [ ] Preview/Edit data
- [ ] Table Designer
- [x] Schema Designer
- [ ] Schema Compare
- [ ] Local SQL Server Container provisioning
- [ ] SQL database in Fabric provisioning
- [ ] DACPAC/BACPAC export/import
- [ ] SQL Database projects
- [ ] Query Plan Visualizer
- [ ] Other (please describe below)

### If you selected "Other", please describe the affected area

_No response_

### Environment Information

mssql: 1.41.0

### Confirmation

- [x] I have searched existing issues and couldn't find a match
- [ ] I want to work on this issue

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in the Schema Designer flow and reproduce the issue against SQL Server mssql 1.41.0 by creating a table with a varchar(100) column, then opening its edit dialog. Trace how the column definition is displayed; done means the dialog shows the varchar length for the affected column.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
database
Issue type
Bug
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.