Skip to main content

char

Function char 

Source
pub fn char(value: impl Into<String>, length: u16) -> Char
Expand description

Create a char(length) parameter for an Always Encrypted char column.

The encrypted column must use a *_BIN2 collation (SQL Server requires it for deterministic encryption of character types). The value is encoded in the column’s code page; only Windows-1252 (the default) is supported.