I have 1323648000 which is int (10). I need to convert it to a date format. Something like dd / hh / yy hh: mm: ss. I tried a few examples here, but I can't get it to work. I tried to use it as varchar (10) and convert, but nothing. Excel also outputs ########. Is this number correct?
SELECT
engine4_openid_statusstats.openidstat_id,
CONVERT(datetime,CAST(engine4_openid_statusstats.openidstat_time AS varchar(10),3),
engine4_openid_services.openidservice_id,
engine4_openid_services.openidservice_name
FROM
engine4_openid_statusstats ,
engine4_openid_services
source
share