MS Access
Bei Generierung einer MS Access-Datenbank (DB) anhand eines XML-Schemas werden die XML-Schema-Datentypen, wie unten in der Tabelle gezeigt, in MS Access-Datentypen konvertiert.
XML-Schema-Datentyp | MS Access-Datentyp |
xs:ID | GUID |
xs:string | Wenn keine Facets, dann varchar (255) Size = entweder length oder maxLength Wenn Size <= 255 varchar (n) andernfalls memo |
xs:normalizedString | Wie xs:string |
xs:token | Wie xs:string |
xs:Name | Wie xs:string |
xs:NCName | Wie xs:string |
xs:anyURI | Wie xs:string |
xs:QName | Wie xs:string |
xs:NOTATION | Wie xs:string |
xs:boolean | bit |
xs:float | Zahl (single) |
xs:double | Zahl (double) |
xs:decimal | Dezimalzahl |
xs:duration | Datum/Uhrzeit |
xs:dateTime | Datum/Uhrzeit |
xs:time | Datum/Uhrzeit |
xs:date | Datum/Uhrzeit |
xs:gYearMonth | Datum/Uhrzeit |
xs:gYear | Datum/Uhrzeit |
xs:gMonthDay | Datum/Uhrzeit |
xs:gDay | Datum/Uhrzeit |
xs:gMonth | Datum/Uhrzeit |
xs:hexBinary | Wenn keine Facets varbinary (255) Size = entweder length oder maxLength Wenn Size <= 8000 varbinary andernfalls image (OLE-Objekt) |
xs:base64Binary | Wie xs:hexBinary |
xs:integer | Zahl (Long Integer) |
xs:int | Zahl (Long Integer) |
xs:negativeInteger | Zahl (Long Integer); value constraint |
xs:positiveInteger | Zahl (Long Integer); value constraint |
xs:nonNegativeInteger | Zahl (Long Integer); value constraint |
xs:nonPositiveInteger | Zahl (Long Integer); value constraint |
xs:unsignedInt | Zahl (Long Integer) |
xs:short | -- keine Entsprechung -- |
xs:unsignedShort | -- keine Entsprechung -- |
xs:long | -- keine Entsprechung -- |
xs:unsignedLong | -- keine Entsprechung -- |
xs:byte | Zahl (Byte) |
xs:unsignedByte | Zahl (Byte) |