adding database batch sqls