Skip to content

SQL Insights

  • Home
  • About
  • Contact
  • Evaluaciones
  • DB Diagrams (SQL to DBML)
  • Links
  • Curriculum

Carlos D. Serrano

December 16, 2019December 16, 2019 Carlos Serrano Datetime

UTC to Timezone using At Time Zone option.

Let's face it, most of us store dates in UTC and rely on the front end application to handle local time. Now you've been asked to produce a report across customers in different time zones. Starting SQL 2016, Microsoft introduced the option AT TIME ZONE, which produces a Date Time Offset return. A Date Time … Continue reading UTC to Timezone using At Time Zone option.

August 16, 2018August 17, 2018 Carlos Serrano SQL+JSON

Using JSON for Lookup Tables

When creating lookup or reference tables during database design we often run into the problem that the data contained by these tables varies within environments. This can cause problems in the application layer, especially if ENUMS are created based on this table. One of the methods of keeping these tables aligned in a Database Project … Continue reading Using JSON for Lookup Tables

Posts navigation

Newer posts
Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • SQL Insights
    • Already have a WordPress.com account? Log in now.
    • SQL Insights
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
 

Loading Comments...