[SQL] Why the weak key is created as unique

2001-10-05 Thread Marat Khairullin
=> insert into BBB values (1,2); ERROR: Cannot insert a duplicate key into unique index bbb_a_key I would like that the pair keys (a,b) was unique. Certainly, I can remove unique index 'bbb_a_key'... But how more correctly? -- Marat Khairullin mailto:[EMAIL PROTECTED] [EM

[SQL] Why the weak key is created as unique

2001-10-05 Thread Marat Khairullin
ert into BBB values (1,2); ERROR: Cannot insert a duplicate key into unique index bbb_a_key I would like that the pair keys (a,b) was unique. Certainly, I can remove unique index 'bbb_a_key'... But how more correctly? -- Marat Khairullin mailto:[EMAIL PROTECTED] [EM