[Libreoffice-bugs] [Bug 140267] New: Improve primary key creation when creating/importing a table
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Feb 8 16:09:48 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=140267
Bug ID: 140267
Summary: Improve primary key creation when creating/importing a
table
Product: LibreOffice
Version: 7.0.0.3 release
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: enhancement
Priority: medium
Component: Base
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: michael at vonglasow.com
When creating a table in Design view and not setting a column to be the primary
key, Base will ask the user whether they want to create a primary key. IIRC the
same query also appears when importing data into a new table (and in addition
the option to designate a column as the primary key is well hidden). Not sure
how the wizard behaves in this situation.
Answering Yes will add a new column named ID, with an auto-increment value and
designated as the primary key. This is what Microsoft’s Access does, and what
would have made my old database professor cringe.
Suggested improvement: when a user tries to add a new table without a primary
key, give them the following options:
- select an existing column to serve as the primary key (or multiple ones for a
compound primary key)
- add a new column with an auto-incremented value to serve as the primary key
(à la Access)
- proceed without a primary key
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210208/9e93ed2a/attachment.htm>
More information about the Libreoffice-bugs
mailing list