array(0) { }
*** DMA ***
array(12) { ["odbcts"]=> string(19) "2019-07-16 06:29:49" ["dmarank"]=> string(4) "9999" ["dmaID"]=> string(4) "9998" ["dmaType"]=> NULL ["Minority"]=> NULL ["QualType"]=> NULL ["DMAName"]=> string(7) "Unrated" ["Population25up"]=> string(1) "0" ["scanned"]=> NULL ["AvgLatitude"]=> NULL ["AvgLongitude"]=> NULL ["State"]=> string(0) "" }
Database: media
SQL: select * from cities where CityName = 'RILEY' and State = 'OR'
TableTypePossible KeysKeyKey LengthRefRowsExtra
citiesrefCityNameCityName53const2Using where


Number of rows returned = 0
Start: 1754177903.5658
End: 1754177903.566
Elapsed time: 0.1981 ms No Rows in Recordset!

*** insert into cities(State,CityName,ruralarea) values('OR','Riley',-1)

*** city ***************
array(22) { ["id"]=> string(5) "80216" ["State"]=> string(2) "OR" ["CityName"]=> string(5) "Riley" ["RuralArea"]=> string(2) "-1" ["PopCount"]=> NULL ["Population"]=> NULL ["Latitude"]=> NULL ["Longitude"]=> NULL ["PrimaryAC"]=> NULL ["ZoneDesc"]=> NULL ["EartlinkDSL"]=> NULL ["ISPCount"]=> NULL ["CovadDSL"]=> NULL ["VerizonDSL"]=> NULL ["allegiance"]=> NULL ["SBC"]=> NULL ["RateCenterCityid"]=> NULL ["Population2000"]=> NULL ["FIPS"]=> NULL ["cTZoffset"]=> NULL ["DST"]=> string(1) "0" ["DMAID"]=> NULL }
****** zip code ************
array(13) { ["zipcode"]=> string(5) "97758" ["zip3"]=> string(3) "977" ["ziptype"]=> string(8) "STANDARD" ["zipcity"]=> string(5) "RILEY" ["zipstate"]=> string(2) "OR" ["ziploctype"]=> string(7) "PRIMARY" ["ziplatitude"]=> string(5) "43.58" ["iplongitude"]=> string(7) "-119.57" ["ziplocation"]=> string(14) "NA-US-OR-RILEY" ["decommissioned"]=> string(5) "false" ["taxreturns"]=> string(1) "0" ["zippopulation"]=> string(1) "0" ["zipincome"]=> string(1) "0" }
******* zip3 ***********
array(3) { ["zip3"]=> string(3) "977" ["zipcity"]=> string(4) "BEND" ["zipstate"]=> string(2) "OR" }
**** zip3 city**************
array(22) { ["id"]=> string(5) "16018" ["State"]=> string(2) "OR" ["CityName"]=> string(4) "Bend" ["RuralArea"]=> string(1) "0" ["PopCount"]=> string(3) "244" ["Population"]=> string(5) "20469" ["Latitude"]=> string(9) "44.056434" ["Longitude"]=> string(11) "-121.308085" ["PrimaryAC"]=> string(3) "541" ["ZoneDesc"]=> NULL ["EartlinkDSL"]=> string(1) "0" ["ISPCount"]=> NULL ["CovadDSL"]=> string(1) "0" ["VerizonDSL"]=> string(1) "0" ["allegiance"]=> string(1) "0" ["SBC"]=> string(1) "0" ["RateCenterCityid"]=> string(5) "16018" ["Population2000"]=> string(5) "52029" ["FIPS"]=> string(7) "4105800" ["cTZoffset"]=> string(2) "-8" ["DST"]=> string(2) "-1" ["DMAID"]=> string(3) "224" }
**** cities in DMA per station **************
No Rows in Recordset!

***** cities in DMA by city *************
10 records found!
idStateCityNameRuralAreaPopCountPopulationLatitudeLongitudePrimaryACZoneDescEartlinkDSLISPCountCovadDSLVerizonDSLallegianceSBCRateCenterCityidPopulation2000FIPScTZoffsetDSTDMAID
16018ORBend02442046944.056434-121.3080855410000016018520294105800-8-1224
16206ORRedmond-1112716344.268978-121.1834875410000016206134814161200-8-1224
16140ORMadras-123344344.630536-121.129128541000001614050784145250-8-1224
16028ORBurns-12291343.586827-119.057114541000001602830644109800-8-1224
16267ORWarm Springs-10228744.760168-121.2682335410000024314178600-8-1224
39549ORHines-10145243.559163-119.0834410000016234134250-8-1224
39603ORTerrebonne-10114344.349266-121.1801060000014694172800-8-1224
16234ORSisters-12167944.290828-121.54902454100000162349594167950-8-1224
69432ORLa Pine0043.719068-121.528163000000057994141050-8-1224
16041ORChemult-1042.804981-121.5848335410000016041-8-1224
**** cities in zip3 **************
27 records found!
zipcodezipcityzipstatezippopulationcitynameDMAID
97701BENDOR45428Bend224
97702BENDOR31666Bend224
97756REDMONDOR26318Redmond224
97754PRINEVILLEOR14336Prineville
97739LA PINEOR8679La Pine224
97741MADRASOR8373Madras224
97759SISTERSOR5901Sisters224
97760TERREBONNEOR5621Terrebonne224
97707BENDOR4839Bend224
97720BURNSOR3288Burns224
zipcodezipcityzipstatezippopulationcitynameDMAID
97734CULVEROR2182Culver
97753POWELL BUTTEOR1748
97738HINESOR1618Hines224
97733CRESCENTOR517
97711ASHWOODOR0
97712BROTHERSOR0
97710FIELDSOR0
97721PRINCETONOR0
97722DIAMONDOR0
97736FRENCHGLENOR0
zipcodezipcityzipstatezippopulationcitynameDMAID
97730CAMP SHERMANOR0
97731CHEMULTOR0Chemult224
97737GILCHRISTOR0Gilchrist
97750MITCHELLOR0Mitchell
97751PAULINAOR0Paulina
97752POSTOR0
97758RILEYOR0Riley
Station K212AQ-FX
City RILEY-OR

City Riley, OR is located in DMAID: