MS SQL Server
Wenn anhand einer MS SQL Server-Datenbank (DB) ein XML-Schema generiert wird, werden die MS SQL Server-DB-Datentypen, wie in der Tabelle unten aufgelistet, in XML-Schema-Datentypen konvertiert.
MS SQL Server-Datentyp  | XML-Schema-Datentyp  | 
uniqueidentifier  | xs:ID  | 
char  | xs:string  | 
nchar  | xs:string  | 
varchar  | xs:string  | 
nvarchar  | xs:string  | 
text  | xs:string  | 
ntext  | xs:string  | 
sysname  | xs:string  | 
bit  | xs:boolean  | 
real  | xs:float  | 
float  | xs:double  | 
decimal  | xs:decimal  | 
money  | xs:decimal  | 
smallmoney  | xs:decimal  | 
datetime  | xs:dateTime  | 
smalldatetime  | xs:dateTime  | 
binary  | xs:base64Binary  | 
varbinary  | xs:base64Binary  | 
image  | xs:base64Binary  | 
integer  | xs:integer  | 
smallint  | xs:short  | 
bigint  | xs:long  | 
tinyint  | xs:byte  |