knobit.org

C3 (2 points)

edu:Question

https://knobit.org/id/task/ddl-review/C3

Also as Turtle · JSON-LD · RDF/XML

dcterms:licensehttps://creativecommons.org/licenses/by/4.0/
owl:sameAshttps://bitbucket.org/reffa/ontology/id/task/ddl-review/C3
rdfs:labelC3 (2 points) en
schema:hasPartddl-review C3a: binary floating point for money
schema:hasPartddl-review C3b: one scale for every currency
schema:identifierC3
schema:position3
schema:textMoney, 1 each: (a) requested_amount is DOUBLE PRECISION on both targets, which cannot hold money exactly, so totals stop reconciling and move with row order - changed to a decimal with a scale; (b) settled_amount is DECIMAL(14,2) on a table whose currency column ranges over ISO 4217, whose minor units are not all 2 - the scale is widened, or the single-currency scope is stated, and either way the point is that 2 was not a decision. en

Used by

has questionGenerated DDL review, Postgres and Snowflake (DDL review skills)
schema:isPartOfddl-review C3a: binary floating point for money
schema:isPartOfddl-review C3b: one scale for every currency