|
|
Choosing A Webhost: |
AW: case insensitive unique constraint: msg#00272db.maxdb
Maurice Marrink wrote: > Hi, > > I have a table with a column name which has a unique constraint. > This prevents the name 'whatever' to appear twice however it is still > possible to insert a second record with a name 'Whatever'. > Is it possible to make the unique constraint case insensitive? > With the current version this is not possible. With 7.6 it will be possible to have a user-defined function (looking like upper) and create an explicit UNIQUE INDEX onto <user_defined function> (<your column>). So far maybe another column may help, always updated/filled with insert/update-trigger and the value UPPER(<your_column>) and having a unique index created for it. Elke SAP Labs Berlin > Thanks, > > Maurice Marrink > > > -- > MaxDB Discussion Mailing List > For list archives: http://lists.mysql.com/maxdb > To unsubscribe: http://lists.mysql.com/maxdb?unsub=elke.zabach@xxxxxxx -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Exporting Stored Procedures, Jean-Michel OLTRA |
|---|---|
| Next by Date: | RE: Database Manager crushing, Andris Spruds |
| Previous by Thread: | XP + Firewall instalation tip, Edson Carlos Ericksson Richter |
| Next by Thread: | Extracting triggers with sql statement, Hermann-Josef Krings |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|