SQL Server: (L14) How to use the TimeStamp data type. Part 1 of 2.

preview_player
Показать описание
I will show you how to create a table that uses a TimeStamp data type. I show you what will happen after an insert statement is executed.

I show you that the TimeStamp have is stored in HEX, and I show you the SQL to convert HEX to decimal.

Next, I show you that the update statement also changes the timestamp value. (automatically)

Timestamp changes it value only on Insert/Update commands.

#softwareNuggets, #sqlServer, #sqlServer2019, #sqlDataTypes, #timeStamp, @SoftwareNuggets, #share_to_be_better
Рекомендации по теме
Комментарии
Автор

Thank you for this, I understand TimeStamp and now I also know cast statement

blixstaa
Автор

Thank you for your precise and explicit infos. Examples were good to understand the concept

cihanbasar
Автор

Thank you for the playlist in SQL! Golden nugget! Glad I've found your channel

fernandoak
Автор

What does the 2006 and 2007 represent?

Tall-Cool-Drink