ad_country_name_from_country_code db country_codeWhat it does:
Returns "United States" from an argument of $db and "us"Defined in: /web/philip/tcl/ad-geospatial.tcl
Source code:
return [database_to_tcl_string_or_null $db "select country_name from country_codes where iso='[DoubleApos $country_code]'" $country_code]