This is an old revision of the document!


Administration: Omnidex Features

Rollup Tables

Creating Rollup Tables

A rollup table is quite easy to create. The rollup tables are first created in the Omnidex Environment File, complete with the SQL statement that represents the rollup data. Then the UPDATE ROLLUPS command is issued in ODXSQL to populate the rollup tables. Here is a simple example of creating a rollup that provides counts of people based on geographic regions:

  create table          "LIST_GEO"        
    type                ROLLUP
    physical            "dat\list.geo"
    as                  "select COUNTRY, REGION, STATE, COUNTY, CITY, ZIP, MSA_CSA, PMSA, 
                         count(*) NUM_INDIVIDUALS
                         from LIST
                         group by COUNTRY, REGION, STATE, COUNTY, CITY, ZIP, MSA_CSA, PMSA" 

In ODXSQL, ODBC or JDBC, the following command will populate the rollup tables in the Omnidex Environment:

update rollups 

Additional Resources

 
Back to top
admin/features/rollups/create.1294699273.txt.gz · Last modified: 2016/06/28 22:38 (external edit)