Questions on Unique and Auto-increment
- From: Earl Melton <earlemelton yahoo com>
- To: Glom Development Support <glom-devel-list gnome org>
- Subject: Questions on Unique and Auto-increment
- Date: Wed, 14 Jul 2010 11:34:57 -0700 (PDT)
Hello,
I am new to Linux/Ubuntu and even newer to Glom, so I'm likely to be asking a lot of questions that will make most of you yawn and say, "Oh no, another one of those!" Here are the first two:
I'm trying to set up a rental management database, currently with 14 tables, but that may grow in time to come. When I click on Developer > Fields, I see on the PK that Unique is checked on some tables and not on others. Shouldn't that be a unique number on [all] PKs? Maybe I don't understand what unique means here.
Also, from the same dialog box, when I right-click on a PK and choose Edit, Auto-increment is not checked. I [think] this is true on all tables, but not 100% certain yet. Wouldn't it be a good idea to tick this checkbox to be sure the number changes on each record?
Another way to word this question: when would I [not] want the PK to auto-increment?
TIA for your help! I'll pose another question in a separate e-mail.
--
Have a blessed day!
<>< Earl
--
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]