Topic: Define a field as unique index !!!
For example, in a record of two fields, name and address, as I define to be the index name field, or give error message if you try to include existing name.
My Visual Database → Talks about all → Define a field as unique index !!!
For example, in a record of two fields, name and address, as I define to be the index name field, or give error message if you try to include existing name.
You can create unique index using free tool SQLite Studio (http://sqlitestudio.pl/)
Open database file (sqlite.db) using SQLite Studio
Please look the screenshot for details.
Is it planned to embed the unique index in MVDB? That would help a lot in developing databases with constraints to avoid a lot of script coding.
Having the option "Unique" in the database designer would be a big step forward
tcoton
Planned, but now in the priority is Web grid.
+1
The problem of adding the UNIQUE constraint manually is that, when you delete your sqlite.db file and let your application recreate it, the constraint is gone.
Unless you add a check on first run, and perform an ALTER TABLE operation before anything else
Mathias
My Visual Database → Talks about all → Define a field as unique index !!!
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi