-
Notifications
You must be signed in to change notification settings - Fork 219
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Bug]: numeric
data type not supported as a parameter for a stored procedure
#2059
Labels
Milestone
Comments
Here is a simple minded patch which got us around this issue. It's weird that Microsoft don't include numeric in their enum.
|
rohkhann
added a commit
that referenced
this issue
Jan 6, 2025
## Why make this change? Addresses bug #2059 ## What is this change? adds support for the numeric data type. ## How was this tested? Unit test added.
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
What happened?
System.Data.Common.SqlDbType
https://learn.microsoft.com/en-us/dotnet/api/system.data.sqldbtype?view=net-8.0
doesn't have a
Numeric
type, thats why we unfortunately see this error. The autodetection is done by querying
sys.dm_exec_describe_first_result_set
which gives back
numeric
from SQL. We will need to handle this discrepancy between these dependencies in DAB explicitly for this and other possible types which may be absent in
System.Data.Common.SqlDataType
Version
main
What database are you using?
Azure SQL
What hosting model are you using?
Local (including CLI)
Which API approach are you accessing DAB through?
REST
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: