4D v14column_definition |
||||||||||||||
|
4D v14
column_definition
column_definition
A column_definition contains the name (sql_name) and data type (sql_data_type_name) of a column. You can also pass an optional int_number as well as the NOT NULL, UNIQUE, AUTO_INCREMENT and/or AUTO_GENERATE keywords.
Each column must have a data type. The column should either be defined as "null" or "not null" and if this value is left blank, the database assumes "null" as the default. The data type for the column does not restrict what data may be put in that column. Here is a simple example which creates a table with two columns (ID and Name): CREATE TABLE ACTOR_FANS |
PROPERTIES
Product: 4D SEE ALSO
ALTER TABLE ARTICLE USAGE
4D SQL Reference ( 4D v14) Inherited from : column_definition ( 4D v11 SQL Release 4 ) |
||||||||||||