資料庫 資料型別表
sql type
symbian column type (in the dbms c++ api)
python type
supported
bitedbcolbit
intyes
tinyint
edbcolint8
intyes
unsigned tinyint
edbcoluint8
intyes
smallint
edbcolint16
intyes
unsigned smallint
edbcoluint16
intyes
integer
edbcolint32
intyes
unsigned integer
edbcoluint32
intyes
counter
edbcoluint32 (with thetdbcol::eautoincrementattribute)
intyes
bigint
edbcolint64
long
yesreal
edbcolreal32
float
yesfloat
edbcolreal64
float
yesdouble
edbcolreal64
float
yesdouble precision
edbcolreal64
float
yesdate
edbcoldatetime
float (or long, withcol_rawtime()
yestime
edbcoldatetime
float (or long, withcol_rawtime()
yestimestamp
edbcoldatetime
float (or long, withcol_rawtime()
yeschar(n)
edbcoltext
unicode
yesvarchar(n)
edbcoltext
unicode
yeslong varchar
edbcollongtext
unicode
yesbinary(n)
edbcolbinary
strread only
varbinary(n)
edbcolbinary
strread only
long varbinary
edbcollongbinary
n/ano
資料庫字段型別
二 mysql 資料型別 1 text 型別 char size 儲存固定長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的長度。最多 255 個字元。varchar size 儲存可變長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的最大長度。最多 255 個字元。tinyte...
資料庫字段型別
1 text 型別 char size 儲存固定長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的長度。最多 255 個字元。varchar size 儲存可變長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的最大長度。最多 255 個字元。tinytext 存放最大長度為 25...
資料庫字段型別
二 mysql 資料型別 1 text 型別 char size 儲存固定長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的長度。最多 255 個字元。varchar size 儲存可變長度的字串 可包含字母 數字以及特殊字元 在括號中指定字串的最大長度。最多 255 個字元。tinyte...