SQLite ALTER added columns not sticking around (or are they
Posted: Fri May 18, 2012 1:03 am
I've set up a loop to check on fieldnames and add them to the SQLite database, to automatically catch new fields of my interface as they are added.
produces after my creation of the database.
("dnaKey" is indeed what I told it., with)
I then tell it
Code: Select all
put "PRAGMA table_info(dna)" into dCmd
put revDataFromQuery(tab, cr,theDB,dCmd) into currentFields
Code: Select all
0 dnaKey int 1 1
("dnaKey" is indeed what I told it., with
Code: Select all
put "CREATE TABLE dna(dnaKey int NOT NULL, PRIMARY KEY(dnaKey))" into dCmd
revExecuteSQL debtorDB, dcmd
I then tell it