Skip to content

Instantly share code, notes, and snippets.

@HeLiBloks
Created March 5, 2015 19:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HeLiBloks/97b61997bd0a18bc9f97 to your computer and use it in GitHub Desktop.
Save HeLiBloks/97b61997bd0a18bc9f97 to your computer and use it in GitHub Desktop.
SSIS SSRS SSAS snippets
//## timeStamp
(DT_STR,4,1252) DatePart("yyyy",getdate()) +
Right("0" + (DT_STR,4,1252) DatePart("m",getdate()),2) +
Right("0" + (DT_STR,4,1252) DatePart("d",getdate()),2) +
Right("0" + (DT_STR,4,1252) DatePart("hour",getdate()),2) +
Right("0" + (DT_STR,4,1252) DatePart("minute",getdate()),2) +
Right("0" + (DT_STR,4,1252) DatePart("second",getdate()),2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment