Introducing Schemas
All data streams and windows have schemas that specify their structure. A schema specifies the number and names of the columns in the stream or window and indicates each column's datatype.
Schemas may be created explicitly by the user and associated with a particular stream or window, or, in some cases, a schema for an output stream may be inferred by Sybase CEP from the contents of the query.
- CCL column names
Every column in a schema must have a column name.
- Datatypes
Each column in a schema must have a datatype. The datatype defines the kind of value that each column may contain.
- Datatype Conversions
All columns handled by Sybase CEP have a datatype. Use conversion functions to convert data to the correct datatype.
Created March 8, 2010. Send feedback on this help topic to Sybase Technical Publications:
pubs@sybase.com