load sql structure