split sql for syncdb