返回首页

gbase数据、南大通用产品文档:GBase8s数据类型

更新日期:2024年09月11日

GBase 8s ODBC Driver 支持五种不同的数据类型。
下表描述 GBase 8s ODBC Driver 支持的数据类型。
数据类型
描述
示例
GBase 8s SQL 数据类型
GBase 8s 数据库服务器使用的数据类

CHAR(n)
GBase
8s
ODBC
Driver
SQL 数
据类型
对应于 GBase
8s
SQL 数据类型的数据
类型
SQL_CHAR
标准 C 数据类型
C 编译器定义的数据类型
unsigned char
GBase 8s ODBC Driver
typedef
对应于标准 C 数据类型的 typedef
UCHAR
GBase 8s ODBC Driver C 数
据类型
对应于标准 C 数据类型的数据类型
SQL_C_CHAR

导出结果集内容
.......................................
155

GetFieldType 方法 (String)
根据给定的列名称,获取指定列的数据类型对象。

语法
[Visual Basic]
Public Function GetFieldType ( _

column As String _
) As Type
[C#]
public Type GetFieldType(

string column
)

参数
1) column :列名称