COLLATE
Description
Specifies whether string search or comparison on the column is CASE_SENSITIVE or CASE_INSENSITIVE.
Click here to navigate to the Amazon Redshift docs page for this syntax.
Grammar Syntax
COLLATE CASE_SENSITIVE | COLLATE CASE_INSENSITIVE
Sample Source Patterns
Input Code:
CREATE TABLE table1 (
col1 TEXT COLLATE CASE_SENSITIVE,
col2 TEXT COLLATE CASE_INSENSITIVE
);
Output Code:
CREATE TABLE table1 (
col1 TEXT COLLATE 'en-cs',
col2 TEXT COLLATE 'en-ci'
)
COMMENT = '{ "origin": "sf_sc", "name": "snowconvert", "version": { "major": 0, "minor": 0, "patch": "0" }, "attributes": { "component": "redshift", "convertedOn": "09/17/2024" }}'
;
Known issues
There are no known issues.
Last updated