ADO.NET Provider for Snowflake

Build 24.0.9062

BindingType

Allow specifying the binding type for the Date, Time and Timestamp_* type.

Possible Values

DEFAULT, TEXT

データ型

string

デフォルト値

"DEFAULT"

解説

There are two kinds of binding types: DEFAULT and TEXT.

  • DEFAULT: Uses the binding type DATE for the Date type, TIME for the Time type, and TIMESTAMP_* for the Timestamp_* type. By default, the driver selects either the Binding API or Upload API based on the number of records, unless BatchMode is specified. The behavior for TIMESTAMP_* types is determined by the session parameter CLIENT_TIMESTAMP_TYPE_MAPPING. However, if the insert query is executed using the Upload API, this session parameter does not apply. As a result, timestamp values may vary when inserting different quantities of records.
  • TEXT: Uses the binding type TEXT for Date, Time, and Timestamp_* types. This option ensures consistent timestamp values across both the Binding API and the Upload API, regardless of the number of inserted records.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9062