44 return "DOUBLE PRECISION";
56 strcpy(buf,
"TIMESTAMP ");
59 strcpy(buf,
"INTERVAL ");
81 strcat(buf,
"MINUTE");
84 strcat(buf,
"SECOND");
87 strcat(buf,
"FRACTION");
101 strcat(buf,
"MONTH");
110 strcat(buf,
"MINUTE");
113 strcat(buf,
"SECOND");
116 strcat(buf,
"FRACTION");
#define DB_SQL_TYPE_INTEGER
const char * db_sqltype_name(int sqltype)
Get SQL data type description.
#define DB_SQL_TYPE_INTERVAL
#define DB_SQL_TYPE_TIMESTAMP
#define DB_SQL_TYPE_CHARACTER
#define DB_SQL_TYPE_SERIAL
#define DB_SQL_TYPE_NUMERIC
#define DB_SQL_TYPE_DOUBLE_PRECISION
void db_interval_range(int, int *, int *)
Define range based on SQL data type.
#define DB_SQL_TYPE_SMALLINT
#define DB_SQL_TYPE_DECIMAL