Skip to content

ODBC Binder does not retrieve proper type precision #4106

@aleks-f

Description

@aleks-f

Should be MAXIMUM_SCALE:

found = _pTypeInfo->tryGetInfo(cDataType, "MINIMUM_SCALE", tmp);

Manifests with SQL Server 2022:

22008: Fractional second precision exceeds the scale specified in the parameter binding.

causing statements binding Poco::DateTime to fail.

Possibly also reproducible with other back ends.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions