Re: [Vala] open and read a csv file
- From: Al Thomas <astavale yahoo co uk>
- To: Jason Scurtu <scurtu mail de>, "vala-list gnome org" <vala-list gnome org>
- Subject: Re: [Vala] open and read a csv file
- Date: Thu, 16 Oct 2014 22:37:56 +0100
________________________________
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]