Answers for "adding 2 dates on sql query"

SQL
0

add two days to current date in sql when creating tables

CREATE TABLE YourTableName
(
Subscriber INT PRIMARY KEY,
IssueDate DATETIME,
ExpireDate AS DATEADD(DAY, 30, IssueDate)
)
Posted by: Guest on October-05-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language