how to make vertica case insensitive
Hi Expert,
I have a report application connecting to Sqlserver. Now I want to change the DB to vertica.
But I face case sensitive issue. for example:
when I run the following sql in SQLserver(notes: the DB is case insensitive)
select username from user where username='James'.
username
------------------------------------------------------
James
JAMES
james
I got three records. But in vertica I got only one record running the same sql
select username from user where username='James'.
username
------------------------------------------------------
James
I known that I can use upper, lower function or Ilike to workaround.
but if will take effort to change a lot of sql in the application.
Is there any other way to make vertica case insensitive?
I have a report application connecting to Sqlserver. Now I want to change the DB to vertica.
But I face case sensitive issue. for example:
when I run the following sql in SQLserver(notes: the DB is case insensitive)
select username from user where username='James'.
username
------------------------------------------------------
James
JAMES
james
I got three records. But in vertica I got only one record running the same sql
select username from user where username='James'.
username
------------------------------------------------------
James
I known that I can use upper, lower function or Ilike to workaround.
but if will take effort to change a lot of sql in the application.
Is there any other way to make vertica case insensitive?
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
. So setting a locale not a good choice.