How can I enable case-insensitive search on openGauss ? My fields are all uppercase when creating the tables, and when searching, it is converted to lowercase and causes failure.
SELECT XH,QYBH from user
Error info: No xh column found
How can I enable case-insensitive search on openGauss ? My fields are all uppercase when creating the tables, and when searching, it is converted to lowercase and causes failure.
SELECT XH,QYBH from user
Error info: No xh column found
The column names in openGauss will be case-sensitive if the column name was enclosed in double quotes when defining it, otherwise they will be case-insensitive. When you run a SELECT query unquoted column names are automatically converted to lower-case. As a result, if a column name is case-sensitive you need to wrap the name in double quotes.
Here are some examples: