Created
March 21, 2022 15:59
-
-
Save kwestground/e9cdc7b1a9ec183c4d5b3304f812b3dd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT TOP 1 | |
T2."UpdateDate", T2."UpdateTS", | |
CAST( | |
CAST(T2."UpdateDate" AS date) || ' ' || | |
SUBSTRING(RIGHT('0'+ CAST(T2."UpdateTS" AS varchar), 6), 1, 2) || ':' || | |
SUBSTRING(RIGHT('0'+ CAST(T2."UpdateTS" AS varchar), 6), 3, 2) || ':' || | |
SUBSTRING(RIGHT('0'+ CAST(T2."UpdateTS" AS varchar), 6), 5, 2) | |
AS datetime) | |
FROM "ORDR" T2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment