Created
September 29, 2013 20:46
-
-
Save troyscott/6756385 to your computer and use it in GitHub Desktop.
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
| update dbo.WeeklySalesForecast | |
| set WeekNumber = case | |
| when CONVERT( INT,SUBSTRING(WeekNumber,5,3)) < 10 | |
| then 'Week 0' + SUBSTRING(WeekNumber,6,1) | |
| else WeekNumber end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment