Date - MSSQL (Magic xpa 4.x)
The table below lists Magic xpa’s Date attribute and the valid data types in MSSQL. Each entry in the table has a default data type that can be forced by specifying that type in the Type property on the SQL section in the Column Properties sheet.
|
|
|
|
String Date
|
##/##/####
|
8
|
DATETIME
|
Integer Date
|
##/##/####
|
4
|
INTEGER
|
Integer Date 1901
|
##/##/####
|
4
|
INTEGER
|
YYMMDD Date
|
##/##/####
|
4
|
BINARY
|
Magic Date
|
##/##/####
|
4
|
BINARY
|
Magic Date 1901
|
##/##/####
|
4
|
BINARY
|
Note: If you want to map the Magic xpa String Date to an MSSQL character, specify ‘CHAR(8)’ as the Type, under the column properties/SQL.