Last active
August 29, 2015 14:01
-
-
Save dougludlow/7b0854e8bb9502b71be2 to your computer and use it in GitHub Desktop.
Datestamp for SSIS Expression
This file contains hidden or 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
REPLACE(REPLACE(REPLACE(SUBSTRING((DT_STR, 30, 1252)GETDATE(), 1, 19 ) , "-", ""), " ", ""), ":", "") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will evaluate to the equivalent of
20140508111202
.