<div dir="auto"><div>Hello..<div dir="auto"><br></div><div dir="auto">Is my email getting through?</div><div dir="auto">I don't get any reply from anyone. </div><div dir="auto"><br></div><div dir="auto">Can you please help me with the below request?</div><div dir="auto"><br></div><div dir="auto">Regards</div><div dir="auto">Yamen </div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">---------- Forwarded message ---------<br>From: <strong class="gmail_sendername" dir="auto">Yamen Tekaji</strong> <span dir="auto"><<a href="mailto:ytekaji@gmail.com">ytekaji@gmail.com</a>></span><br>Date: Wed, Jul 21, 2021, 3:57 PM<br>Subject: Fix table unique column<br>To:  <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>><br></div><br><br><div dir="auto"><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">Dears,<br></div><div dir="ltr"><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>
</div></div>
</div></div></div>