Possible and Certain SQL Keys

Show simple item record

dc.contributor.author Köhler, H en
dc.contributor.author Leck, U en
dc.contributor.author Link, S en
dc.date.accessioned 2014-01-05T22:48:18Z en
dc.date.available 2014-01-05T22:48:18Z en
dc.date.issued 2013 en
dc.identifier.citation CDMTCS Research Reports CDMTCS-452 (2013) en
dc.identifier.issn 1178-3540 en
dc.identifier.uri http://hdl.handle.net/2292/21351 en
dc.description.abstract In standard SQL database management systems primary key columns are NOT NULL by default. While NULL columns may be included in unique constraints, such constraints only ensure uniqueness for tuples which do not feature any null marker occurrences in the columns involved, and do not fulfil the same function as primary keys. In this work we investigate the notions of possible and certain keys, which are intuitive and differ only in their treatment of null markers. It turns out that possible keys capture the unique constraint of SQL, while certain keys extend primary keys to include NULL columns, and can be used for similar purposes. In addition to basic characterization, axiomatization, and simple discovery approaches for possible and certain keys, we investigate the existence and construction of Armstrong tables, extremal set problems, and describe an indexing scheme for enforcing certain keys. Our experiments show that certain keys with NULLs do occur in real-world databases, and that related computational problems can be solved efficiently. Certain keys are semantically well-founded, achieve the goal of Codd’s entity integrity rule and offer more flexibility for data entry than primary keys. en
dc.publisher Department of Computer Science, The University of Auckland, New Zealand en
dc.relation.ispartofseries CDMTCS Research Report Series en
dc.rights Items in ResearchSpace are protected by copyright, with all rights reserved, unless otherwise indicated. Previously published items are made available in accordance with the copyright policy of the publisher. en
dc.rights.uri https://researchspace.auckland.ac.nz/docs/uoa-docs/rights.htm en
dc.source.uri http://www.cs.auckland.ac.nz/staff-cgi-bin/mjd/secondcgi.pl?serial en
dc.title Possible and Certain SQL Keys en
dc.type Technical Report en
dc.subject.marsden Fields of Research::280000 Information, Computing and Communication Sciences en
dc.rights.holder The author(s) en
dc.rights.accessrights http://purl.org/eprint/accessRights/OpenAccess en


Files in this item

Find Full text

This item appears in the following Collection(s)

Show simple item record

Share

Search ResearchSpace


Browse

Statistics