📜  如何将 VARCHAR 转换为 TIMESTAMP - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:21.760000             🧑  作者: Mango

代码示例1
declare @hexstring varchar(max);
set @hexstring = '0xabcedf012439';
select CONVERT(varbinary(max), @hexstring, 1);

set @hexstring = 'abcedf012439';
select CONVERT(varbinary(max), @hexstring, 2);