sqlite: temporary table/view in a read-only db? -
It seems that sqlite will not allow me to create a temporary view in the read only DB. Am I forgetting something? If it is temporary, then I thought there should be no difference in the DB connection mode.
I also specified "Pragam temp_store = MEMORY" - this does not help
Is there any reasonable choice to use ideas?
You can create a temporary view that references the data in the main DB.
create the view id as temp.userview, choose the last name from the first name, main.usertbl;
Then use such views ...
SELECT * to temp.userview;
Comments
Post a Comment