I have created a table which has a primary key comprising of 2 columns say col1 and col2.
I have created 2 unique index one on primary key(col1 and col 2) and another on col1.
Now I am creating another table where I have to use col1 of first table as a foreign key in new table but I am geting an error (sqlcode 538).