In Oracle 10g, how do I add a unique case-insensitive constraint on two varchar fields? For example, given the following records already in the table:
"Stephen", "Swensen"
"John", "Smith"
The following inserts would be invalid:
"stephen", "Swensen"
"John", "smith"
"stephen", "swensen"
But the following inserts would be valid:
"Stephen", "Smith"
"John", "Swensen"
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…