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

bulkcopy: mssql: type 6e not implemented when bulkcopy money field. #98

Open
patelsdp opened this issue Mar 11, 2023 · 1 comment
Open
Labels
bug Something isn't working
Milestone

Comments

@patelsdp
Copy link

Describe the bug
A clear and concise description of what the bug is.

If you are seeing an exception, include the full exceptions details (message and stack trace).

[Exception message:
Stack trace:](bulkcopy: mssql: type 6e not implemented)

To Reproduce
Include a complete code listing that we can run to reproduce the issue.

Partial code listings, or multiple fragments of code, will slow down our response or cause us to push the issue back to you to provide code to reproduce the issue.

Expected behavior
A clear and concise description of what you expected to happen.

Further technical details

SQL Server version: (e.g. SQL Server 2017)
Operating system: (e.g. Windows 2019, Ubuntu 18.04, macOS 10.13, Docker container)
Table schema

Additional context
Add any other context about the problem here.

@grrlgeek grrlgeek added the bug Something isn't working label May 3, 2023
@grrlgeek grrlgeek added this to the Backlog milestone May 22, 2023
@Lercher
Copy link

Lercher commented Dec 19, 2023

See also denisenkom#460 and the approved (but not merged?) PR denisenkom#430

I guess this refers to: https://github.com/microsoft/go-mssqldb/blob/main/bulkcopy.go#L524 where money and smallmoney database column types are commented but not supported for INSERT BULK TDS streaming. Note that a precise 8/4byte Go datatype representing money is needed, too, like e.g. int64 where every value is multiplied with 10^4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants