Fix bootstrap sql for SC