Is there UID datatype in SQLITE if Yes then how to generate value for that
I am creating table like this: CREATE TABLE foobar (id uniqueidentifier, foo text, bar text, PRIMARY KEY (id)) How to insert or generate value for id field in table foobar? Mike Sherrill 'Cat Recall' You can argue that SQLite doesn't support data types at all. In SQLite3, you can do this, for example. sqlite> create table test (id wibblewibble primary key); SQLite will happily create a column with the "data type" wibblewibble. SQLite will also happily create columns with the "data types" uuid, guid, and SuperChicken. The crucial point for you is probably how to automatically generate a uid.