Explain different datatypes in database
Answers
Answered by
0
This chapter describes all of the SQL data types that PointBase supports. Data types define what type of data a column can contain. The following sections describe each PointBase data type in detail and discuss converting data types. Tables are provided at the end of the chapter to show the mappings between PointBase data types and industry standard and other common non-standard data types.
Data Types
PointBase supports the following data types for its column and parameter declarations.
CHARACTER [(length)] or CHAR [(length)]VARCHAR (length)BOOLEANSMALLINTINTEGER or INTDECIMAL [(p[,s])] or DEC [(p[,s])]NUMERIC [(p[,s])]REALFLOAT(p)DOUBLE PRECISIONDATETIMETIMESTAMPCLOB [(length)] or CHARACTER LARGE OBJECT [(length)] or CHAR LARGE OBJECT [(length)]BLOB [(length)] or BINARY LARGE OBJECT [(length)]
Data Types
PointBase supports the following data types for its column and parameter declarations.
CHARACTER [(length)] or CHAR [(length)]VARCHAR (length)BOOLEANSMALLINTINTEGER or INTDECIMAL [(p[,s])] or DEC [(p[,s])]NUMERIC [(p[,s])]REALFLOAT(p)DOUBLE PRECISIONDATETIMETIMESTAMPCLOB [(length)] or CHARACTER LARGE OBJECT [(length)] or CHAR LARGE OBJECT [(length)]BLOB [(length)] or BINARY LARGE OBJECT [(length)]
Answered by
0
CHARACTER [(length)] or CHAR [(length)
]VARCHAR (length)
BOOLEAN
SMALLINT
INTEGER or INT
DECIMAL [(p[,s])] or DEC [(p[,s])]
NUMERIC [(p[,s])]
REAL
FLOAT(p)
DOUBLE
PRECISION
DATE
TIME
TIMESTAMP
CLOB [(length)] or CHARACTER LARGE OBJECT [(length)] or CHAR LARGE OBJECT [(length)]
BLOB [(length)] or BINARY LARGE OBJECT [(length)]
]VARCHAR (length)
BOOLEAN
SMALLINT
INTEGER or INT
DECIMAL [(p[,s])] or DEC [(p[,s])]
NUMERIC [(p[,s])]
REAL
FLOAT(p)
DOUBLE
PRECISION
DATE
TIME
TIMESTAMP
CLOB [(length)] or CHARACTER LARGE OBJECT [(length)] or CHAR LARGE OBJECT [(length)]
BLOB [(length)] or BINARY LARGE OBJECT [(length)]
Similar questions
Chemistry,
8 months ago
Political Science,
8 months ago
Biology,
1 year ago
Math,
1 year ago
Math,
1 year ago