Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SAP Sybase SQL Anywhere 16.0 » SQL Anywhere Server - SQL Usage » Data integrity » Column defaults


Constant expression defaults

You can use a constant expression as a default value, as long as it does not reference database objects. For example, the following expression allows column defaults to contain the date fifteen days from today:

... DEFAULT ( DATEADD( day, 15, GETDATE() ) );