@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix edu: <https://knobit.org/def/> .
@prefix knobit: <https://knobit.org/id/knobit/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix register: <https://knobit.org/id/register/> .
@prefix schema: <https://schema.org/> .
@prefix skos: <http://www.w3.org/2004/02/skos/core#> .

knobit:K-819 a edu:Knobit ;
    rdfs:label "Recognises a collation changing what a key means"@en ;
    dcterms:identifier "K-819" ;
    dcterms:license <https://creativecommons.org/licenses/by/4.0/> ;
    dcterms:source "Review checklist 05-ddl, row 19; UTS #10; ISO 9075"@en ;
    skos:altLabel "Collation that changes what a key means (generated DDL)"@en ;
    skos:definition "The case and accent sensitivity of the columns in a key, which on most engines comes from a server or database default nobody chose here. Case-insensitive makes an IBAN and its lower-case form one key; case- and accent-sensitive makes `Mägi` and `Magi` two parties. Either can be right; an unexamined default cannot."@en ;
    skos:prefLabel "Recognises a collation changing what a key means"@en ;
    edu:actionVerb "Recognises"@en ;
    edu:appliesKnowledge knobit:K-855 ;
    edu:assessmentCriterion "Flags the deficient case and passes the acceptable one. Deficient: SQL Server with the usual case-insensitive database collation: `uk_dim_party_reference` treats `ee-00412` and `EE-00412` as one party, and a migration from a case-sensitive source merges two customers into one with no error Acceptable: Identifiers normalised on load (IBAN upper-cased, spaces removed) so the key does not depend on collation, and the collation named in `physical_options` for the engines that accept it — making the key's meaning a decision in the model rather than a server setting"@en ;
    edu:assessmentMethod "skill-tests task: Generated DDL review, Postgres and Snowflake (DDL review skills)"@en ;
    edu:contextFunction <https://knobit.org/def/contextFunction/resultEvaluation> ;
    edu:creationMethod <https://knobit.org/def/creationMethod/aiGeneratedHumanEdited> ;
    edu:expectedResult "The collation and the case or accent sensitivity the key needs"@en ;
    edu:graphRelevance <https://knobit.org/def/graphRelevance/learnerState>,
        <https://knobit.org/def/graphRelevance/taskSelection> ;
    edu:knobitType <https://knobit.org/def/knobitType/skill> ;
    edu:targetObject "key column collation"@en ;
    schema:creativeWorkStatus "accepted" ;
    schema:isPartOf register:data-modelling .

edu:Knobit rdfs:label "Knobit"@en,
        "Knobit"@et .

knobit:K-855 rdfs:label "Explains collation and case or accent sensitivity"@en .

