It seems your 14 digit API well number is being converted to a real before 
being output with only 2 digits of precision, giving the string "3.11E+13".

This is nearly guaranteed to NOT be unique. You need to request a CSV File with 
the API well number in string format.

-----Urspr?ngliche Nachricht-----
Von: sqlite-users-bounces at mailinglists.sqlite.org 
[mailto:sqlite-users-bounces at mailinglists.sqlite.org] Im Auftrag von Daniel 
Telvock
Gesendet: Mittwoch, 16. M?rz 2016 22:43
An: SQLite mailing list
Betreff: [sqlite] Error msg help

Anyone know what this is trying to tell me? I cannot import the CSV because of 
this error.

Everything is labeled as VARCHAR and api_well_number is marked as the unique 
identifier.



SQLiteManager: INSERT INTO "main"."WELLS" VALUES ("Adams, E.H. et 
al",'Schuyler','Hector','3.11E+13','Collins 1','UM','Unknown Not 
Found','DW','Dry Wildcat','8') [ UNIQUE constraint failed:
WELLS.api_well_number ]
Exception Name: NS_ERROR_STORAGE_CONSTRAINT Exception Message: Component 
returned failure code: 0x80630003
(NS_ERROR_STORAGE_CONSTRAINT) [mozIStorageStatement.execute]



Dan Telvock
Environment Reporter
Investigative Post <http://www.investigativepost.org/>
Twitter: @dantelvock
716-831-2626 ext. 3
_______________________________________________
sqlite-users mailing list
sqlite-users at mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


___________________________________________
 Gunter Hick
Software Engineer
Scientific Games International GmbH
FN 157284 a, HG Wien
Klitschgasse 2-4, A-1130 Vienna, Austria
Tel: +43 1 80100 0
E-Mail: hick at scigames.at

This communication (including any attachments) is intended for the use of the 
intended recipient(s) only and may contain information that is confidential, 
privileged or legally protected. Any unauthorized use or dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please immediately notify the sender by return e-mail message and 
delete all copies of the original communication. Thank you for your cooperation.


Reply via email to