外部データベースのデータ型をOutSystemsデータ型にマッピングする
外部データベースに接続する場合、OutSystemsでは外部データベースのデータ型を以下のようにOutSystemsデータ型にマッピングします。
SQLサーバー | Oracleデータ型 | MySQLデータ型 | DB2データ型 | OutSystemsデータ型 |
---|---|---|---|---|
Char Varchar Text Nchar Nvarchar Ntext Xml Decimal(Any,> 8) Numeric(Any,> 8) Real Float UniqueIdentifier Time Datetimeoffset |
Char Varchar Varchar2 Clob Long Nchar NVarchar2 Nclob Number(Any,> 8) Float Binary_float Binary_double RowId URowId XmlType |
Varchar Char Longtext Mediumtext Tinytext Text Enum Set Decimal(> 28,Any) Decimal(Any,> 8) Numeric(> 28,Any) Numeric(Any,> 8) Double Real Float Time |
Character Varchar Clob DbClob Xml Decimal(> 28,Any) Decimal(Any,> 8) Numeric(> 28,Any) Numeric(Any,> 8) Float Real DecFloat Double Time Nchar Nvarchar NClob |
Text |
Tinyint Smallint Int Decimal(1-9,0) Numeric(1-9,0) |
Number(2-9,0) | Tinyint(> 1) Smallint Mediumint Int Decimal(1-9,0) Numeric(1-9,0) |
Integer Smallint Decimal(1-9,0) Numeric(1-9,0) |
Integer |
Bigint Decimal(10-18,0) Numeric(10-18,0) |
Number(10-18,0) | Bigint Unsigned Int Bit(2-64) Decimal(10-18,0) Numeric(10-18,0) |
Bigint Decimal(10-18,0) Numeric(10-18,0) |
Long Integer |
Decimal(19-28,0-8) Decimal(1-18,>1-8) Numeric(19-28,0-8) Numeric(1-18,>1-8) Money Smallmoney |
Number(19-28,0-8) Number(1-18,1-8) |
Unsigned Bigint Decimal(19-28,0-8) Decimal(1-18,1-8) Numeric(19-28,0-8) Numeric(1-18,1-8) |
Decimal(1-18,1-8) Decimal(19-28,0-8) Numeric(1-18,1-8) Numeric(19-28,0-8) |
Decimal |
Bit | Number(1,0) | Bit(1) Tinyint(1) |
SmallInt Integer Bigint (0,1)という制約あり |
Boolean |
Date | Date | Date | Date | |
Datetime DateTime2 Smalldatetime |
Date Timestamp |
Datetime Timestamp |
Timestamp | DateTime |
Image Binary Varbinary |
Bfile Blob Raw Long Raw |
Blob Longblob Tinyblob Mediumblob Binary Varbinary |
Binary Blob Char(Bit) VarChar(Bit) VarBinary |
Binary Data |
Sql_variant Geometry HierarchyId Geography Rowversion Timestamp |
Interval day to second Interval year to month |
Polygon Point Multipoint MultiPolygon LineString MultiLineString Geometry GeometryCollection Year |
Datalink Graphic Vargraphic RowId |
マッピング不可。 Integration Studioでは、このアトリビュートは「Ignored」とマークされます。 |
Decimal(M、D)またはそれに類似するものの場合、Mは最大桁数(precision)であり、Dは小数点以下の桁数(scale)です。