Converts a character string to a Period value.
ANSI Compliance
This statement is ANSI SQL:2011 compliant.
Syntax
CAST ( character_expression AS period_data_type [ data_attribute [...] ] )
Syntax Elements
- character_expression
A character expression to be converted.
- period_data_type
The data type to which the expression is to be converted.
- data_attribute
- One of the following data attributes:
- FORMAT
- NAMED
- TITLE