Syntax Element: column
Description
A special stereotype that can cause code generation activities.
Example
This keyword is highlighted
like this.
You can click on keywords and concepts in blue.
database HasATable { types int as integer, varstring ("nvarchar") as string, number ("numeric") as real; stereotype table with validation = minimal; version 1.0 : initialized { design { protected table X { public column A with DataType = type(int); public column B with DataType = type(varstring(5)); public column C with DataType = type(number(5,2)); } } } }
Notes
- When validation is turned on, this can be used as the basis for designing a column in a result set.
- When minimal validation is turned on, there must be at least a DataType attribute.
Related Use Cases
- Specifying design separately from construction
- Getting compiler feedback on your database design
- Eliminating duplication between client and database code
- Deriving creation scripts from design
- Keeping clients coupled to the current version
- Leveraging a version's proxy in a client
- Transition testing
Other Actions
documentation | all examples for this syntax element | all examples | use cases | concepts | keywords
database