eG View sql ddl script