Visits: 805
以下は、ISO PC 295 WG1会議(2017年5月)にて発表した資料です。修正が必要な箇所もありますが、基本方針はこれで良いと考えています。残念ながらデータ型の議論を深めることができませんでした。
Question:
Why do we need datatype besides representation?
Answer:
A common datatype makes transformation to different file format, namely delimited, xml, xbrl-gl, json more easy and simplify design effort.
DATA TYPES IN SOFTWARE PACKAGE
SAP
Data Types in the ABAP Dictionary
Predefined Elementary ABAP Types with Fixed Length
Mapping between SAP, XML and .NET
ORACLE
Character String Datatypes in ORACLE
NUMBER Datatype in ORACLE
The NUMBER datatype stores fixed and floating-point numbers.
Numbers of virtually any magnitude can be stored and are guaranteed portable among different systems operating Oracle Database, up to 38 digits of precision.
Numbers can be stored in a NUMBER column:
- Positive numbers in the range 1 x 10-130 to 9.99…9 x 10125 with up to 38 significant digits
- Negative numbers from -1 x 10-130 to 9.99…99 x 10125 with up to 38 significant digits
- Zero
- Positive and negative infinity (generated only by importing from an Oracle Database, Version 5)
How data is stored in ORACLE
column_name NUMBER (precision, scale)
If a precision is not specified, the column stores values as given.
If no scale is specified, the scale is zero.
Oracle guarantees portability of numbers with a precision equal to or less than 38 digits.
You can specify a scale and no precision: column_name NUMBER (*, scale)
In this case, the precision is 38, and the specified scale is maintained.
Microsoft EXCEL
Excel can store 15 decimal places accuracy.
Number in Excel
Auditdata collection data type
Datatype in ADCS
ADCS Legal Character
String Datatype
Name
Code
Numeric Datatype
composite type
Audit Data
MonetaryAmount
MeasurementQuantity
Transformation rules
Construction of Composite Datatypes
Flat file Transformation
Field representation for Datatype
Transform to flat file
Flat File(Document_Type)
XML SCHEMA Transformation
XML datatype for Atomic Type
Transform to XML Schema
XML Instance(Document_Type)
json Transformation
Transform to JSON
The JSON Data Interchange Format
xbrl gl Transformation
Mapping ADCS to ADCS Logical Model
Mapping ADCS Logical Model to XBRL GL