Enum CharacterLength
pub enum CharacterLength {
IntegerLength {
length: u64,
unit: Option<CharLengthUnits>,
},
Max,
}Expand description
Information about character length, including length and possibly unit.
Integer length with optional unit (e.g. CHAR(10) or VARCHAR(10 CHARACTERS)).
Fields
Default (if VARYING) or maximum (if not VARYING) length
Optional unit. If not informed, the ANSI handles it as CHARACTERS implicitly
VARCHAR(MAX) or NVARCHAR(MAX), used in T-SQL (Microsoft SQL Server).