How to modify existing tables for timezone addition
问题 I have a large application with 500+ tables, I have to convert the application to be timezone aware (currently application uses new java.util.Date() , GETDATE() with server's timezone). i.e. no timezone support whatsoever. I have organised this task into a few steps so as to ease development, my first identified step is to change all old dates to UTC based on the server's timezone. (mostly located in one timezone, so this is my best guess) Next, I need to modify the database and application