Created
December 18, 2014 15:06
-
-
Save HarryMcCarney/c1c5fe10045b4cbd094b 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
if exists(select * from sys.columns | |
where Name = N'seven_day_impressions' and Object_ID = Object_ID(N'pub.article')) | |
begin | |
alter table pub.article | |
drop column seven_day_impressions | |
end | |
go | |
alter table pub.article | |
add seven_day_impressions int | |
go |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment