Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating table on MSSQL sets varchar and nvarchar column lengths as 1 regardless of UI input #58809

Open
1 of 2 tasks
EngTurtle opened this issue Sep 19, 2024 · 0 comments
Open
1 of 2 tasks
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! MS SQL data provider

Comments

@EngTurtle
Copy link

EngTurtle commented Sep 19, 2024

What is the bug or the crash?

Creating a table on a MSSQL connection using the QGIS GUI results in NVARCHAR columns of length 1 instead of set value.

Steps to reproduce the issue

Creating a table on a MSSQL connection using the following input, where Name column is set with length 50
image
Results in the following table after saving, where the Name column has length 1
image

Versions

QGIS version 3.38.2-Grenoble installed via Chocolatey
SQL Server version 15.0.4312.2

Supported QGIS version

  • I'm running a supported QGIS version according to the roadmap.

New profile

Additional context

No response

@EngTurtle EngTurtle added the Bug Either a bug report, or a bug fix. Let's hope for the latter! label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! MS SQL data provider
Projects
None yet
Development

No branches or pull requests

2 participants