Arc/Info example:

The following commands illustrate database queries of info tables associated with arc/info map coverages. Similar queries could also be done from arcplot, or in arcview. The INFO example used here was selected to show the fundamental steps in logical queries, though this method lacks the graphics available in arcplot or arcview.

Arc: listcoverages                                      list the available coverages in the current workspace

Arc: list usgs24k.pat                                   look at the database files for each polygon

              1

   AREA                       = ************

   PERIMETER                  =  4825542.500

   USGS24K#                   =     1

   USGS24K-ID                 =     0

   USGS#                      =     0

   QUADNAME                   =

              2

   AREA                       = ************

   PERIMETER                  =    48446.836

   USGS24K#                   =     2

   USGS24K-ID                 =  7699

   USGS#                      =     1

   QUADNAME                   = O'BRIEN (OR)



Arc: INFO                                               start the info database program

ENTER USER NAME> ARC                            use caps for all info commands

ENTER COMMAND> SELECT  USGS24K.PAT      select the coverage polygon attribute table

    2850 RECORD(S) SELECTED

ENTER COMMAND >LIST                             look at the database files for each polygon

                1                                       note that record #1 is the outside (neg.) area

 AREA            =-4.38082E+11

 PERIMETER       = 4825543.000

 USGS24K#        =    1

 USGS24K-ID      =    0

 USGS#           =    0

 QUADNAME        =

                2

 AREA            =1.436519E+08

 PERIMETER       =  48,446.840

 USGS24K#        =    2

 USGS24K-ID      =7,699

 USGS#           =    1

 QUADNAME        =O'BRIEN (OR)


ENTER COMMAND >RESELECT QUADNAME  =  ' '        look for polygons with no quadname

       1 RECORD(S) SELECTED                     note that this is normal for record one



ENTER COMMAND >ASELECT                          select all the records in the dataset

    2850 RECORD(S) SELECTED


ENTER COMMAND >RESELECT AREA > 1.63E+08 look for polygons with large area

       0 RECORD(S) SELECTED