简体   繁体   English

VB时间戳数据类型

[英]VB timestamp data type

I have timestamp type data in . 我在timestamp类型的数据。 I wonder what should be related data type in ? 我想知道应该如何关联数据类型?

Should it be string , date , Byte or something else? 应该是stringdateByte还是其他?

TIMESTAMP is not a DATE data type. TIMESTAMP不是DATE数据类型。 It is used for row versioning and usually referred to as ROWVERSION Documenation here 它用于行版本控制, 在此处通常称为ROWVERSION 文档。

with that being said, treats it as binary. 话虽这么说, 将其视为二进制文件。 So I'm not sure what value it will give you in application, but if you needed to convert it to VB the closest you can get is making it a string. 因此,我不确定在应用程序中它将为您提供什么值,但是如果您需要将其转换为VB,则可以得到的最接近的方法是将其设置为字符串。 VB data types documentation here VB数据类型文档在这里

here is example of TIMESTAMP from 这是来自TIMESTAMP示例

0x000000002AB82831
0x000000002AB8280D
0x000000002AB827C4
0x000000002AB82710
0x000000002AB82758
0x000000002AB82759
0x000000002AB82832
0x000000002AB8277C

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM