SQL Server 2016 timestamp data type

血红的双手。 提交于 2020-01-15 05:26:51

问题


I have the following problem:

I am using an archiving software that exports its data to an MS SQL database, one of the columns being designated Timestamp_S (which represents the unix time), and it is an 32 bit integer.

This database needs to be queried by a different reporting software. The problem is that the reporting software requires its entries to have a field named "Timestamp" and also that the data type be SQL timestamp.

I am currently trying to select the data that the archiving software is sending and format it so that the reporting software can use it.

Seeing that you cannot convert any data type to timestamp, does anyone know a work-around for this problem?

Any help is appreciated!

来源:https://stackoverflow.com/questions/38329602/sql-server-2016-timestamp-data-type

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!