I've spent a bit of time searching through the forum without too much
luck on the following query.

I'm trying to create an index on a lowercase field (email) as follows:

INDEX ON (lower(email)) UNIQUE

I'm running on Postgres.

So far I've not been able to work out how to do this and was wondering
whether anyone could give me some pointers.

Thanks in advance.

--
David Talbot

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SQLElixir" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlelixir?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to