define SQLSERVER check, delete resources migrate