Adapted SQL to changes related removing _recreate_ parameter