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)
sqltypes
)sqltypes
)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)
Type
is an SQL data type supported by the translator.
Usage: accepted_type(SystemType, NativeType)
SystemType
received is a sybase or a postgres type (in the future other systems should be supported) and obtains its equivalent NativeType
sqltype.
SystemType
is an SQL data type supported by Sybase.
(sqltypes:sybasetype/1
)
NativeType
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
Usage: get_type(Constant, Type)
Constant
is any term.
(basic_props:term/1
)
Type
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
Constant
is currently a term which is not a free variable.
(term_typing:nonvar/1
)
Usage: type_compatible(TypeA, TypeB)
TypeA
and TypeB
are compatible types, i.e., they are the same or one is a subtype of the other.
TypeA
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
TypeB
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
Usage: type_union(TypeA, TypeB, Union)
Union
is the union type of TypeA
and TypeB
.
TypeA
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
TypeB
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
Union
is an SQL data type supported by the translator.
(sqltypes:sqltype/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)
Type
is an SQL data type supported by Sybase.
Usage: sybase2sqltypes_list(SybaseTypesList, SQLTypesList)
SybaseTypesList
is a list of Sybase SQL types. PrologTypesList
contains their equivalent SQL-type names in CIAO.
SybaseTypesList
is a list.
(basic_props:list/1
)
SQLTypesList
is a list.
(basic_props:list/1
)
Usage: sybase2sqltype(SybaseType, SQLType)
SybaseType
is a Sybase SQL type name, and SQLType
is its equivalent SQL-type name in CIAO.
SybaseType
is an SQL data type supported by Sybase.
(sqltypes:sybasetype/1
)
SQLType
is an SQL data type supported by the translator.
(sqltypes:sqltype/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)
Type
is an SQL data type supported by postgres.
Usage: postgres2sqltypes_list(PostgresTypesList, SQLTypesList)
PostgresTypesList
is a list of postgres SQL types. PrologTypesList
contains their equivalent SQL-type names in CIAO.
PostgresTypesList
is a list.
(basic_props:list/1
)
SQLTypesList
is a list.
(basic_props:list/1
)
Usage: postgres2sqltype(PostgresType, SQLType)
PostgresType
is a postgres SQL type name, and SQLType
is its equivalent SQL-type name in CIAO.
PostgresType
is an SQL data type supported by postgres.
(sqltypes:postgrestype/1
)
SQLType
is an SQL data type supported by the translator.
(sqltypes:sqltype/1
)
Go to the first, previous, next, last section, table of contents.