Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Update database structure - many changes that are unexpected

_lukas_
Level 2
Level 2

Hi,

I have ran into this situation before but never understood why it happens.

Sometimes when I run the "Update database structure" I get very many changes on out of the box tables.
The generated SQL changes the DB definition of datetime fields.

 

Edit: This was caused by a change in the option WdbcUseTimeStampWithTZ. 

Thanks to @saikatk2447661 

 

_lukas__0-1612861383191.png

 

 

 

1 Accepted Solution
saikatk2447661
Correct answer by
Level 4
Level 4

I guess the temp table thing is happening because of the check box. Please try after unchecking it.

Screenshot_7.png

View solution in original post

4 Replies
saikatk2447661
Correct answer by
Level 4
Level 4

I guess the temp table thing is happening because of the check box. Please try after unchecking it.

Screenshot_7.png

View solution in original post

_lukas_
Level 2
Level 2
Hi and thanks for your reply. Yes, exactly. But my question is more about what is triggering the change. Is this the WdbcUseTimeStampWithTZ option (or a combination with something else?)?
saikatk2447661
Level 4
Level 4
Check what happens if you set the opition variable to 0. If that checkox after TSDATE gets grayed out then your assumption is true. (Assuming you have not executed the database update script already)
_lukas_
Level 2
Level 2
Good idea! Yes, that triggered the same update 🙂 Thanks!