SyntaxFix
Write A Post
Hire A Developer
Questions
A column with default value:
CREATE TABLE <TableName>( ... <ColumnName> <Type> DEFAULT <DefaultValue> ... )
<DefaultValue> is a placeholder for a:
<DefaultValue>
(
)
Examples:
Count INTEGER DEFAULT 0, LastSeen TEXT DEFAULT (datetime('now'))