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

Query failed: Conversion overflows on select from table with numeric(38,0) column #1798

Closed
mvolovich opened this issue Nov 25, 2020 · 1 comment

Comments

@mvolovich
Copy link

  • MSSQL Extension Version: 1.9.0
  • VSCode Version: 1.52
  • OS Version: Windows 10

Steps to Reproduce:

  1. Run query to select data from table with numeric(38,0) column
  2. Error returned: "Query failed: Conversion overflows"
@kburtram
Copy link
Member

This appears to be working in current build. I tried the below test case.

CREATE TABLE TT1
(id int,
val numeric(38,0))

INSERT INTO TT1 VALUES(1, 2)
INSERT INTO TT1 VALUES(3, 4)
INSERT INTO TT1 VALUES(5, 6.6)

SELECT *
FROM TT1

Results

id	val
1	2
3	4
5	7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants