Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Function does not support collation

I'm trying to use the UPPER/LOWER function in Snowflake but I'm receiving the error 'Function UPPER does not support collation'.

Is there any way I can use the UPPER/LOWER functions or is there an alternative?

Thanks

like image 361
afk Avatar asked Nov 17 '25 11:11

afk


1 Answers

Can you try the COLLATE function for this?

https://docs.snowflake.net/manuals/sql-reference/functions/collate.html

This suggests that you can upper case a character within a collation to check for items being the same. Something like: COLLATE(MyField,'en-upper')

Thanks

Ben

like image 166
Ben K Avatar answered Nov 19 '25 06:11

Ben K



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!