collation - Storing a case insensitive varchar in PostgreSQL -


I want to add my username varchar to something in the SQL table so that the user name is present , A duplicate user name can not be created in a different case. how can I do this? Thanks

EDIT:
I am using postgresql, some syntax help will be appreciated.

  Create unique index lower_tit_idx on movies ((Less ( Title));  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -