Skip to content

Issue with different time zones between environments #387

Description

@martinboucek

File /Analytics/DataverseLink/EDL_To_SynapseLinkDV_DBSetup/Step1_EDL_To_SynapseLinkDV_CreateUpdate_SetupScript.sql is using getdate() for declaration of the newdatetimemarker which can cause an issue by transferring data between environments with different time zones.
My example is: Synapse link uses UTC time, but destination server was set up with Paris/Berlin... time zone.

I mean this piece of code:
declare @newdatetimemarker datetime2 = getdate();

I would use getutcdate() instead.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions