<div dir="ltr">Dears,<div><br></div><div>I connected QGIS to Oracle DB which contains tables with GEOMETRY and spatial data.</div><div><br></div><div>When trying to add some tables to the layer window, I saw this error message:</div><div><br></div><div><p style="margin:0px;white-space:pre-wrap"><span style="color:rgb(220,125,0)">2021-07-13T16:48:15     WARNING    </span>Primary key field 'INSERT_DATE' for view not unique.</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">This INSERT_DATE is not my primary Key column. I have a column called ID which is the primary key. How can I tell QGIS which columns are the primary keys in the tables I want to add to layers?</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Please advise.</p><p style="margin:0px;white-space:pre-wrap"><br></p><p style="margin:0px;white-space:pre-wrap">Regards,</p><p style="margin:0px;white-space:pre-wrap">Yamen</p><p style="margin:0px;white-space:pre-wrap"><br></p></div></div>