SDK中Symbian DBMS 表列类型

» Symbian OS v9.2 » Symbian OS reference » C++ component reference » Syslibs DBMS » TDbColType

Location: D32DBMS.H

Enum TDbColType

TDbColType

Description

Represents every supported column type.

EDbColBit

The column stores a single bit.

Representation range: 0 to 1

Storage: 1 bit

Auto-increment: Yes

Index key: Yes

EDbColInt8

The column stores an 8-bit signed integer.

Representation range: -2^7 to 2^7 - 1

Storage: 1 byte

Auto-increment: Yes

Index key: Yes

EDbColUint8

The column stores an 8-bit unsigned integer.

Representation range: 0 to 2^8-1

Storage: 1 byte

Auto-increment: Yes

Index key: Yes

EDbColInt16

The column stores a 16-bit signed integer.

Representation range: -2^15 to 2^15 - 1

Storage: 2 bytes

Auto-increment: Yes

Index key: Yes

EDbColUint16

The column stores a 16-bit unsigned integer.

Representation range: 0 to 2^16-1

Storage: 2 bytes

Auto-increment: Yes

Index key: Yes

EDbColInt32

The column stores a 32-bit signed integer.

Representation range: -2^31 to 2^31 - 1

Storage: 4 bytes

Auto-increment: Yes

Index key: Yes

EDbColUint32

The column stores a 32-bit unsigned integer.

Representation range: 0 to 2^32-1

Storage: 4 bytes

Auto-increment: Yes

Index key: Yes

EDbColInt64

The column stores a 64-bit signed integer.

Representation range: -2^63 to 2^63 - 1

Storage: 8 bytes

Auto-increment: No

Index key: Yes

EDbColReal32

The column stores a 32-bit floating point value.

Representation range: 1.4 X 10^-45 to 3.40282 X 10^38

Storage: 4 bytes

Auto-increment: No

Index key: Yes

EDbColReal64

The column stores a 64-bit floating point value.

Representation range: 2.2 X 10^-308 to 1.79769 X 10^308

Storage: 8 bytes

Auto-increment: No

Index key: Yes

EDbColDateTime

The column stores a date/time value.

Representation range: 1/1/0 to 31/12/9999

Storage: 8 bytes

Auto-increment: No

Index key: Yes

EDbColText8

The column stores a (short) variable length of non-Unicode text data.

Representation range: 0 to 256 characters

Storage: 0 to 256 bytes

Auto-increment: No

Index key: Yes

EDbColText16

The column stores a (short) variable length of Unicode text data.

Representation range: 0 to 256 characters

Storage: 0 to 512 bytes

Auto-increment: No

Index key: Yes

EDbColBinary

The column stores a (short) variable length of untyped data.

Representation range: 0 to 255 bytes

Storage: 0 to 256 bytes

Auto-increment: No

Index key: No

EDbColLongText8

The column stores a potentially large amount of non-Unicode text data.

Representation range: 0 to 2^30 characters

Storage: 0 to 2 Gbytes

Auto-increment: No

Index key: Truncated

EDbColLongText16

The column stores a potentially large amount of Unicode text data.

Representation range: 0 to 2^31 characters

Storage: 0 to 2 Gbytes

Auto-increment: No

Index key: Truncated

EDbColLongBinary

The column stores a potentially large amount of untyped data.

Representation range: 0 to 2^31 bytes

Storage: 0 to 2 Gbytes

Auto-increment: No

Index key: No

EDbColText

This is equivalent to EDbColText8 if the build is narrow, and EDbColText16 if the build is Unicode.

EDbColLongText

This is equivalent to EDbColLongText8 if the build is narrow, and EDbColLongText16 if the build is Unicode.

 

摘自:Symbian S60 3rd Edition SDK (Supporting Feature Pack 1).

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值