Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ BI Gateway

Implicitly convertible data types

  • Last UpdatedFeb 12, 2024
  • 1 minute read

The following table lists the implicitly convertible data types:

Field type

SQL type (From)

To

Bit

Small
Int

Int

Big
Int

Decimal (18,4)

Unique
Identifier

Float

nVar
char (4000)

Date
Time

Tiny
Int

SQL_
Variant

Boolean

Bit

Y

Y

Y

N

Y

Y

N

Y

Y

Int16

Small
Int

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Int32

Int

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Int64

BigInt

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Decimal

Decimal (26,9)

Y

Y

Y

Y

N

Y

Y

N

Y

Y

Guid

Unique
Identifier

N

N

N

N

N

N

Y

N

N

Y

Double

Float

Y

Y

Y

Y

Y

N

Y

N

Y

Y

String

nVar
char (4000)

Y

Y

Y

Y

Y

Y

Y

Y

Y

Y

Date
Time

Date
Time

N

N

N

N

N

N

N

Y

N

Y

Byte

TinyInt

Y

Y

Y

Y

Y

N

Y

Y

N

Y

Other

SQL_
Variant

N

N

N

N

N

N

N

N

N

N

Y indicates that the field type can be implicitly converted. When data is not convertible, NULL value is inserted. For example, a Float value of 23.5678 cannot be converted to an Int, but a Float value of 567.0 can be converted to an Int.

N indicates that the field type cannot be implicitly converted.

Related Links
TitleResults for “How to create a CRG?”Also Available in