SQLite3 Import CSV & exclude/skip header
问题 I'm trying to get my data files (of which there are a dozen or so) into tables within SQLite. Each file has a header and I'll be receiving them a few times over the coming year so I'd like to: Avoid editing each file to remove the header when I receive them; Avoid falling back on shell scripts or Python to do this. I define my table and import data... > .separator "\t" > .headers on > CREATE TABLE clinical( patid VARCHAR(20), eventdate CHAR(10), sysdate CHAR(10), constype INT, consid INT,