Collections:
What Is TIMESTAMP Data Type in MySQL
What Is TIMESTAMP Data Type in MySQL?
✍: FYIcenter.com
A TIMESTAMP data type allows you to record a date and time like DATETIME data type. But it has some interesting features when used on a table column:
The tutorial exercise below provides you 2 equivalent ways to create a TIMESTAMP column:
CREATE TABLE links (lastDate TIMESTAMP); CREATE TABLE links (lastDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP);
⇒ Ways to Get the Current Time in MySQL
⇐ Date and Time Functions in MySQL
2018-03-13, 1807🔥, 0💬
Popular Posts:
How To Get the Definition of a Stored Procedure Back in SQL Server Transact-SQL? If you want get the...
Where to find answers to frequently asked questions on Managing Security, Login and User in SQL Serv...
How To Find Out What Privileges a User Currently Has in Oracle? Privileges granted to users are list...
Is PL/SQL Language Case Sensitive in Oracle? PL/SQL language is not case sensitive: Reserved words a...
How To Use SQL*Plus Built-in Timers in Oracle? If you don't have a stopwatch/timer and want to measu...