Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> How to select a primary key?
When i execute the example on Suns website:
"INSERT INTO COFFEES " +
"VALUES ('Colombian', 101, 7.99, 0, 0)");
then everything is fine the first time.
What i expected it to do the next time i execute the very same line is to UPDATE row 'Colombian' with (the same) values provided.
To my amazment i get more and more rows with the same name. I understand that Oracle believs i don't want to use any primary key. Why? How to solve this?
-- Vänligen Konrad ------------------------------------------------------- URL: http://konrads.webbsida.com E-Mail: konrad_at_voxway.com Phone: (+46) 0708 - 70 73 92 ICQ: 132 250 451Received on Fri Jul 05 2002 - 05:12:48 CDT
![]() |
![]() |