Sql

Asked • 02/19/23

How to write an efficient query to compare data in a DATETIME column with a date from a different time zone?

In a table with large number of rows, if a DATETIME column (ModifiedDate) stores data with the UTC time zone, how do I efficiently query the rows with ModifiedDate after 1/1/2023 of pacific time zone?

1 Expert Answer

By:

Xiaohong L. answered • 02/19/23

Tutor
5 (50)

25 Years of Experience in Database Design / SQL / ETL / Reporting

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.