Skip to main content

Supported data types

MariaDB / MySQL

The following data types are supported as user report parameters and in the report's select columns.

NumericDate and timeCharacter
tinyinttimestampchar
smallintdatevarchar
inttimetinyblob (*)
mediumintdatetimemediumblob (*)
bigintlongblob (*)
floatblob (*)
doubletinytext
decimalmediumtext
yearlongtext
text
json

Time data type can be used as normal time or as a duration.

When used as regular time, the column is formatted based on the format defined in the preferences. Normal time has a range of 00:00:00 - 23:59:59.

If you apply a style '%s' to a time column or use aggregate function sum or avg, the time column is then treated as duration, and the format is always H:M:S.

(*) For text data

Microsoft SQL Server, SAP ASE

NumericDate and timeCharacter
bitsmalldatetimechar
tinyintdatetimenchar
smallintdate (*)varchar
inttime (*)nvarchar
bigintdatetime2 (*) (**)text
floatdatetimeoffset (*)ntext
decimalsysname
numeric
real
smallmoney
money

(*) For SQL Server 2008 and newer.

(**) Not supported in SAP ASE

Note that older TDS protocol versions do report not identify date data types correctly. Use ':type=date' notation in column name to specify the correct data type.

declare @d date
declare @dt datetime2
declare @time time
declare @datetimeoffset datetimeoffset

select @d = getdate(), @dt = getdate(), @time = getdate(), @datetimeoffset = getdate()

select @d as 'date:type=date',
@dt as 'datetime2:type=datetime',
@time as 'time:type=time',
@datetimeoffset as 'datetimeoffset:type=datetime'