Issue with creating Date field in virtual table
26 August, 2014
CONVERT(DATE, DATEADD(dd,-(DAY((DATEADD(month, -1, GETDATE())))-1),(DATEADD(month, -1, GETDATE()))))
I have also tried:
CAST(DATEADD(dd,-(DAY((DATEADD(month, -1, GETDATE())))-1),(DATEADD(month, -1, GETDATE()))) AS DATE)
Thanks,
Clinton
unfortunately, the jTDS JDBC driver shipped with Yellowfin doesn't support the DATE data type for Microsoft SQL Server. Please refer to this webpage for the list of supported data types.
Kind Regards,
Artem