[sqlite] Using key/value idea to store data & creating normal table VIEW?

2017-06-16 Thread Robert M. Münch
Hi, suppose I store my data like this:

Table A: table, column, data

Now I want to create a VIEW named A.table, with columns A.column and rows A.data

Is that possible?

Background: We have one table where columns can be added/removed. We want to 
use the session extension to keep track of changes to our database. But the 
session extension can't handle schema changes.

Thanks a lot.

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch


signature.asc
Description: OpenPGP digital signature
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Session Extension & ALTER TABLE handling

2017-06-16 Thread Robert M. Münch
Hi, if the DB scheme was changed with ATLER TABLE (like adding a column to a 
table) it's no longer possible to apply a changeset from before this ALTER 
TABLE change.

If I'm reverting this ALTER TABLE change manually somehow, would it be possible 
to apply the changeset then? Or does SQLite count scheme changes incrementally, 
so that even then it's not possible to apply the changeset?

-- 

Robert M. Münch, CEO
M: +41 79 65 11 49 6

Saphirion AG
smarter | better | faster

http://www.saphirion.com
http://www.nlpp.ch


signature.asc
Description: OpenPGP digital signature
___
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users