Hi,

I change database format frequently and would like to have an easy way
to distinguish the tables.

Is it possible to have a pointer (like typedef in C) that points to the
current used table? As an temporary pointer?

Example:

I have a table named abc, which I version as abc_v1, abc_v2, ... Can the
table abc automatically point to a table of my choise?

create table abc_v1(a integer,b integer)

(some alias command: abc is an alias of abc_v1 for this connection)

select * from abc

(The last command would then "select * from abc_v1".)

Best regards,
Patrik
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to