sql method !!

01/16/2015 05:27 Eslam Galull#1
i wanna drop a one single table from shard db and restore it from old backup

explain : got some problems in Refskill & i wanna replace this table only with the refskill in the old backup

btw : about 3 ~ 4 days searching in sql methods in google and i cant do it


any hints ? or some help ?

Regards
01/16/2015 14:24 Aaron*#2
restore ur old backup with a different name and use this query

Quote:
use CURRENT_SHARD_NAME
drop table _RefSkill
select * into CURRENT_SHARD_NAME.dbo._RefSkill from OLD_BACKUP_NAME.dbo._RefSkill
01/16/2015 23:56 Eslam Galull#3
i saved it , i will try it later & give you a feedback for sure !!