Go to the first, previous, next, last section, table of contents.


sqltypes (library)

Version: 1.11#222 (2004/5/24, 13:8:7 CEST)

Version of last change: 1.7#127 (2001/10/26, 14:52:5 CEST)

Usage and interface (sqltypes)

Documentation on exports (sqltypes)

REGTYPE: sqltype/1:
sqltype(int).
sqltype(flt).
sqltype(num).
sqltype(string).
sqltype(date).
sqltype(time).
sqltype(datetime).

These types have the same meaning as the corresponding standard types in the basictypes library.

Usage: sqltype(Type)

PREDICATE: accepted_type/2:

Usage: accepted_type(SystemType, NativeType)

PREDICATE: get_type/2:

Usage: get_type(Constant, Type)

PREDICATE: type_compatible/2:

Usage: type_compatible(TypeA, TypeB)

PREDICATE: type_union/3:

Usage: type_union(TypeA, TypeB, Union)

REGTYPE: sybasetype/1:

SQL datatypes supported by Sybase for which a translation is defined:

sybasetype(integer).
sybasetype(numeric).
sybasetype(float).
sybasetype(double).
sybasetype(date).
sybasetype(char).
sybasetype(varchar).
sybasetype('long varchar').
sybasetype(binary).
sybasetype('long binary').
sybasetype(timestamp).
sybasetype(time).
sybasetype(tinyint).

Usage: sybasetype(Type)

PREDICATE: sybase2sqltypes_list/2:

Usage: sybase2sqltypes_list(SybaseTypesList, SQLTypesList)

PREDICATE: sybase2sqltype/2:

Usage: sybase2sqltype(SybaseType, SQLType)

REGTYPE: postgrestype/1:

SQL datatypes supported by postgreSQL for which a translation is defined:

postgrestype(int2).
postgrestype(int4).
postgrestype(int8).
postgrestype(float4).
postgrestype(float8).
postgrestype(date).
postgrestype(timestamp).
postgrestype(time).
postgrestype(char).
postgrestype(varchar).
postgrestype(text).
postgrestype(bool).

Usage: postgrestype(Type)

PREDICATE: postgres2sqltypes_list/2:

Usage: postgres2sqltypes_list(PostgresTypesList, SQLTypesList)

PREDICATE: postgres2sqltype/2:

Usage: postgres2sqltype(PostgresType, SQLType)


Go to the first, previous, next, last section, table of contents.