Re: [Vala] open and read a csv file







________________________________
From: Jason Scurtu <scurtu mail de>
Sent: Thursday, 16 October 2014, 14:42
Subject: [Vala] open and read a csv file


Basicly, I want to open a csv and write the data to a SQLite database 
Just remembered you can import CSV straight into SQLite with the import command - see 
http://www.sqlite.org/cvstrac/wiki?p=ImportingFiles


In Vala I would try something like: 


database.exec( ".import your.csv temp_table_for_cleaning" );

Al


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]