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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Update database structure - many changes that are unexpected

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
Level 4

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

Screenshot_7.png

Avatar

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?)?

Avatar

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)

Avatar

Level 2
Good idea! Yes, that triggered the same update 🙂 Thanks!