More on Sample Data

In my blog post Writing Fast Queries the first point is to have a lot of sample data. APEX Instant Tips episode 85 describes the Oracle APEX Data Generator and Sandra Suarez has a great post on the topic. Sometimes, though, you just want some good data that you can reference in your own queries. You may want to generate sample data into your tables, or just query the data for a demo. Once you have APEX installed, you have access to a lot of great sample data--you just need to know where to look.

select view_name
  from all_views
  where view_name like 'APEX_DG_BUILTIN%'
  order by view_name

The query above returns 29 views full of great sample data.

VIEW_NAMECT
APEX_DG_BUILTINS193
APEX_DG_BUILTIN_2D_SHAPES26
APEX_DG_BUILTIN_3D_SHAPES20
APEX_DG_BUILTIN_AIRPORTS500
APEX_DG_BUILTIN_ANIMALS500
APEX_DG_BUILTIN_BOOLEANS4
APEX_DG_BUILTIN_CARS151
APEX_DG_BUILTIN_COLORS15
APEX_DG_BUILTIN_COMPANY_NAMES750
APEX_DG_BUILTIN_COUNTRIES227
APEX_DG_BUILTIN_DEPTS15
APEX_DG_BUILTIN_ELEMENTS117
APEX_DG_BUILTIN_FONTAPEX1165
APEX_DG_BUILTIN_FOODS263
APEX_DG_BUILTIN_GENERIC_PRODS2652
APEX_DG_BUILTIN_ICD_DIAGS160
APEX_DG_BUILTIN_ICD_PROCS150
APEX_DG_BUILTIN_INDUSTRIES99
APEX_DG_BUILTIN_ISLANDS51
APEX_DG_BUILTIN_LANGUAGES138
APEX_DG_BUILTIN_LATIN_TEXTS50
APEX_DG_BUILTIN_LOCATIONS469
APEX_DG_BUILTIN_OCCUPATIONS101
APEX_DG_BUILTIN_PERSONS750
APEX_DG_BUILTIN_PETS324
APEX_DG_BUILTIN_PLANTS101
APEX_DG_BUILTIN_PRODUCTS0
APEX_DG_BUILTIN_PROD_REVIEWS100
APEX_DG_BUILTIN_SCHOOLS500
APEX_DG_BUILTIN_STATUS4

As of now the data is all in English, but there is an internal API to add data in additional languages and the Data Generator APIs all support data in additional languages.