we have declared the below column with table 1.
last_chg_utc datetime null default utc timestamp,
while inserting the row against table 1, default value is automatically populated for last_chg_utc column
The problem is default value is inserting with adding future date for every insert. For ex: today date is 08-11-2023 , default value is setting as 09-11-2023 for every insert it is incrementing the date value
Note: we are not setting any value against (last_chg_utc column) by default it is settting the value
kindly let us know why it is inserting the future date value by default.
how to resolve this automatic date increment issue
Request clarification before answering.
How do you "check" the timestamp values, i.e. with what query, and what is exactly displayed?
After inserting a row into a table UTC timestamp column has been populated with the future date
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 10 | |
| 5 | |
| 5 | |
| 5 | |
| 4 | |
| 2 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.