Hi everyone,
I have a table which has a primary key
USERNAME VARCHAR2(50)
I also have a lot of tables that refer to that primary key, fields are also type VARCHAR2(50)
Is there a way to ensure that if the primary key's type is change from VARCHAR2(50) to VARCHAR2(150), that all the refrenced fields from the other tables will have to be updated also?
Presently, if I update the primary key OR the reference fields types, I get no error or warning.
Any help would be appreciated,
Thank a lot!
Daph
I have a table which has a primary key
USERNAME VARCHAR2(50)
I also have a lot of tables that refer to that primary key, fields are also type VARCHAR2(50)
Is there a way to ensure that if the primary key's type is change from VARCHAR2(50) to VARCHAR2(150), that all the refrenced fields from the other tables will have to be updated also?
Presently, if I update the primary key OR the reference fields types, I get no error or warning.
Any help would be appreciated,
Thank a lot!
Daph