How to handle case senstive data in oracle by check contrains
I have a table which insert both upper and lower case data get inserted in my table
So, Now I need to insert only upper case in my table..
we have acheive it by the following query as mention below.
Alter Table Xxbkpi_Lookup
Add Constraint Xxbkpi_Lookup_Unq_Ck
Check (Lookup_Type = Upper(Lookup_Type) And
Lookup_Code= Upper(Lookup_Code))
Comments
Post a Comment