Creating Tables

The general attributes can be given for any column type, with a few
exceptions. You can specify NULL or NOT NULL to indicate whether a
column can hold NULL values. For all but BLOB and TEXT types, you can
specify DEFAULT def_value to indicate that a column should be assigned
the value def_value when a new row is created that does not explicitly
specify the column's value. 

The value of def_value must be a constant; 
it cannot be an expression or refer to other columns.

===

Hello programmers,

This is from Mr. Paul DuBois MySQL textbook,

Page 101.

I'd like to know if this is a definition from the SQL  standard, 
Can this be possible by correct implementation of 'actions', 
'triggers' and constrains ?



Yours sincerely

Morten Gulbrandsen





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to