List of country,state and city???
hi,
does anybody know from where i can get
list of countries,state and cities of the world.
i want to populate in one of my oracle forms.
thanks in advance.
Hello
If your looking for the 2 or 3 digit or numbered ISO values as well as the actual name of every country in the world then check this site out:
http://userpage.chemie.fu-berlin.de/diverse/doc/ISO_3166.html
cheers
Q
Similar Messages
-
Sql Server Script for the List of all Country State and City
I am searching for the Sql Server Script of all country State and City with the Following type
For the Country only 2 Columns are there i.e. CountryId and CountryName(CountryId is primary Key)
For the State 3 Columns are there i.e. CountryId, StateId and StateName(StateId is Primary Key and CountryId is Foreign Key)
For the City 3 Columns are there i.e. StateId ,CityId and CityName(CityId is PrimaryKey and StateId is foreign Key).
I need this type of Script with Column name. plzzz help me out i m stuck i didnt get the list as i want.
Thanx and Regrads,Hi Vishnu,
According to your description, you want to list all countries, states and cities, right?
I have tested it on my local environment, here is a sample script for you reference.
select
[dbo].[Country].[CountryId]
, [dbo].[Country].[CountryName]
, [dbo].[State].[StateId]
, [dbo].[State].[StateName]
, [dbo].[City].[CityId]
, [dbo].[City].[CityName]
from
[dbo].[Country]
left join [dbo].[State] on [dbo].[Country].[CountryId]=[dbo].[State].[CountryId]
left join [dbo].[City] on [dbo].[State].[StateId]=[dbo].[City].[StateId]
Regards,
Charlie Liao
TechNet Community Support -
Country ,state and city checklist XML by JAVA
Hi friends,
I have textboxes for entering the country ,state and city values and all these 3 fields are related by primary/foreign keys.
I wan now store and retrieve values entered by users for country state and city by xml files .I also wan all these 3 field to be interrelated so that based on value of country I can populate the related states dropdownlist and based on value of state I can populate the related cities dropdownlist.Can some one pls answer my question about STORING AND RETRIEVING COUNTRY STATE AND CITY FIELDS USING XML FILES?
I also did this application using string(short cut) way but is not efficient and all I want is direct modification in XML file by java?
I didnt put my codes here bcos it so long and still if any one want my codes i wll email u sperately.
All I need is any example approach for this kind?
Any one help will be appreciated...Using XMLEncoder
by Philip Milne
This article covers advanced use of XMLEncoder, showing how it can be configured to create archives of any Java objects -- even when they don't follow the JavaBeans conventions. We include examples of how to make properties 'transient' and how to create archives that call constructors with arguments, use static factory methods, and perform non-standard initialization steps. We also cover exception notification, the 'owner' property (which can be used to a link an archive to the outside world), and methods for creating internationalized archives.
http://java.sun.com/products/jfc/tsc/articles/persistence4/index.html -
Data base "COUNTRY, DEPARTMENT and CITY"
Somebody has a data base completes of the world with country,
department and
city
Alguien tiene una base de datos completa del mundo con
país, departamento y
ciudadThat just means your ISP is there. IP address is not a
reliable way to
detect somebody's location.
"Anuack Luna" <[email protected]> wrote in message
news:emilo7$6j1$[email protected]..
> www.ip2location.com not found correct.
>
> Detect my ip in E.E.U.U. My country is colombia not
E.E.U.U.
>
>
> "Lionstone" <[email protected]>
escribió en el mensaje
> news:emgvu4$ddl$[email protected]..
>> Nobody calls them "departments," that's why you
can't find them.
>> www.ip2location.com has what you need; they call the
state/province part
> of
>> the location the Region.
>>
>> Country USA
>> Region Arizona
>> City Tucson
>>
>>
>>
>> "Anuack Luna" <[email protected]> wrote in
message
>> news:emerbs$t0k$[email protected]..
>> > Example
>> >
>> > Country E.U.
>> > Department Arizona
>> > City XXX
>> >
>> > The one that but looks like is.
>> >
>> >
http://www.senderos.gov.co/servicios/suscripcion.aspx
>> > The problem of this is that it has faults. of
code.
>> >
>> > It hurts Another one is
>> >
>> >
http://www.laopinion.com.co/registro.asp
>> >
http://www.regaliasdesdecasa.com/frames_expl/index1_esp.htm
>> >
>> > Account with countries and cities Apparently it
is seen very complete
> But
>> > it
>> > needs the departments
>> >
>> >
>> > "Lionstone"
<[email protected]> escribió en el mensaje
>> > news:emc1cd$goi$[email protected]..
>> >> Department?
>> >>
>> >> "Anuack Luna" <[email protected]>
wrote in message
>> >> news:emc0h3$fjq$[email protected]..
>> >> > Somebody has a data base completes of
the world with country,
>> >> > department
>> >> > and
>> >> > city
>> >> >
>> >> > Alguien tiene una base de datos
completa del mundo con país,
>> > departamento
>> >> > y
>> >> > ciudad
>> >> >
>> >> >
>> >>
>> >>
>> >
>> >
>>
>>
>
> -
Get Zone,state And City of the BP Master
e.g. :-
East(Zone)
Uttar Pradesh(State)
Ghaziabad(City)
using this [ OCRD.Territory = OTER.territryID] get only City
but i want to also display State And Zone..
Please Help Me....You should use stored procedure for this as:
1. find the id - in your case City
2. get from the city parent id and make select of state
3. the same for province
then youll call sp and in result youll have all informations you need
For example as
create PROCEDURE [dbo].[info]
-- Add the parameters for the stored procedure here
@cardcode nvarchar(15)
AS
BEGIN
SET NOCOUNT ON
declare @city nvarchar(200)
declare @country nvarchar(200)
declare @province nvarchar(200)
declare @tmp as integer
-- city
select @city = o.descript, @tmp = parent from oter o, ocrd oo where o.territryID = oo.Territory
-- country
select @country = descript, @tmp = parent from oter where territryID = @tmp
--province
select @province = descript from oter where territryID = @tmp
select @city, @country, @province
END
and then call sp as
exec info '123' -
How can i check my setting / about tab? This morning I got an error message say something wasn't safe (not sure what) I think it was my common name whcih is ch4iv.myvzw.com and while looking in there I noticed my state say NJ I live in PA, I did not buy my phone in NJ, the city says Bedminster I have never even been there. Can anyone advise?
Can't I go on my Apple account and get to my setting / details.Here is the message...
-
Country-State-City hierarchy is driving me crazy ( duplicate attribute key errors)
hi guys:
I've a dimDesitination dimension and inside this dim , I have 4 attributes, dimDest_ID, country, state and city,
my goal is pretty simple, create a hierarchy country-state-city .
I've made sure there are no NULLs in each column, also state and city attribute, I've created composite key
for example, for state attribute , the key column is (country , state)
for city attribute, the key column is (country, state , city)
when the source dim table contains small number of data, every is fine and process full did succeed.
However, when the raw dim table gets bigger( more data comes in), the process full starts to give me error msg
says duplicate attribute key errors.... this is painful as I did check the raw table but no duplicate key found ever
any comments?
thanks
--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --Hi Cat_ca,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
Regards,
Charlie Liao
TechNet Community Support -
Dynamic List for Country and City
I want to create two drop down list for Country and City. So if the user selects a country from dropdown list the other drop down list should automatically be refreshed tos how its corresponding cities.
I tried using JCOMBOBOX but there is no method in this class there i can pass the data at run time.
Can any one pls send me a sample code?
ThanksNote: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.
edit
pinto_g, please post your questions to an appropriate forum in future.
Edited by: DarrylBurke -
i buy the apple ipod from Channel Island Jersey UK and is dont find in the list of country to register for apple store and i chose UK but my address biling for bank is in Jersey Uk. What i can do? wen i put the post code from jersey is tell that" Your post code does not mactch the country you selected for the Itunes store"
I also just bought macbook pro completely legally and officialy.
You can't officially buy an Apple product as far as Apple is concerned, in the Ukraine if Apple says that there are no Apple Authorized venders in the Ukraine.
Here (in Ukraine) are official Apple's service centers, as like as in Belarus and Russia.
According to Apple there are no Apple Authorized Serve Providers in the Ukraine.
http://support.apple.com/kb/HT1434
And why should I care about those kinda "support lists"?
Because those lists are the official Apple statement of the state of affairs in your country. If you country is not on the list then Apple has no legal or official obligation to you or any products that you have managed to buy in the Ukraine.
this is, for example, official distributor of Apple products in Ukraine.
Not as far as Apple's statement on the issue is concerned.
I bought legal macbook and have right for legal support, and that's all.
Yes, if you get the product to a country with officially and legally Apple Authorized Service providers. There are none in the Ukraine. -
Country state drop down list oracle & php
Hi all.
I'm new in this forum.
I have created two tables :
create table countries
country_id int not null,
country_name varchar2(50),
constraint countries_country_id_pk primary key (country_id)
create table states
state_id int not null,
state_name varchar2(50),
country_id int,
constraint states_state_id_pk primary key (state_id),
constraint states_country_id_fk foreign key (country_id) references countries (country_id)on delete cascade
and insert data.
I have connect to oracle database by this php file.
<?php
$conn = oci_connect('hr', 'hekal', 'or');
if (!$conn)
$e = oci_error();
trigger_error(htmlentities($e['message'], ENT_QUOTES), E_USER_ERROR);
?>
then I make combobox dropdown list like that
<?php
include ('../connect_db.php');
$sql = 'select * from countries order by country_name';
$stid = oci_parse($conn, $sql);
oci_define_by_name($stid, 'country_id', $country_id);
oci_define_by_name($stid, 'country_name',$country_name);
oci_execute($stid);
?>
<select name="country">
<?php
while (oci_fetch($stid)) {
?>
<option value="$country_id" id="country_id"> <?php echo"$country_name" ; ?></option>
<?php } ?>
This code get values into drop down list
and make another to the states.
But I need to connect the two each other.
I need when I choose USA. the other list show only states of USA
thank youSee multiple dropdown
-
US City, States and Zip database
Hi --
Does anyone know of a good source where I can find US City, State and Zip Code information that can be easily imported into an Oracle table?
Thanks,
~ChristineA simple search in Google using "city state zip database" as the keywords comes up with a pretty decent list of possibilties.
Most are for $, but if youy are serious about this, a small sum such as charged by http://www.buyzips.com/ is worth it ... -
Invoice ship to State and Country
For a query I am doing, I need to be able to get the state and country out of the oinv.address2 field which stores the state and country as part of the complete address file.
For example:
121 Any Street Cleveland,OH 44111 USA
Is there a way of getting the state (OH) and USA
Has anyone done this?The brackets are there because you wrote it there too
Without brackets is as
select
coalesce(
substring(
substring(address2,
charindex(',' ,address2, 0) + 1, len(address2)
), 0, charindex(' ', address2,0) - 1)
, '') as state
from oinv
For country use
select
coalesce(
ltrim(substring(
substring(
substring(address2,
charindex(',' ,address2, 0) + 1, len(address2)
), 5, 100)
, charindex(' ',
substring(
substring(address2,
charindex(',' ,address2, 0) + 1, len(address2)
), 5, 100)
) ,100
, '') as country
from oinv
if helps reward points or let me know the problem -
Trying to change Shipping and Delivery address for one in the US, from Canada, and can't do it. State and zip code appears in red but no change in country name. Using French (Canada) iPhoto app.
Larry's right, You can still use your credit card, you just need to change the "billing address" to the recievers address. It gets billed to your CC and delivered to the US
-
ive recently purchased an i phone. i have an ipod with and account. while trying to access i tunes or apps for purchase, i am able to log in, but then it asks me to validate my info. so i do. same credit card, card number, sec code. billing address, everything that is used on my ipod. then i try to verify and it says....we couldn't verify your address. make sure you've entered the correct street, city state, and postal code. please help.
I'm suddenly having this same problem. I've had the other problem for a month or two where I had to reverify my payment info every day, and now when I do that I can't because it says the address that's been in there for 5 years is now unable to be verified. Anyone else? Any suggestions?
-
Is it possible to buy an iphone 5 in the states and take it back to another country for use?
Is it possible to buy an iphone 5 in the states and take it back to another country for use?
Apple has not yet announced the availability of unlocked iPhones in
the US, but they are for sale in Canada, parts of Europe, and elsewhere.
Warranty is not international. Service and repair/replacement only in
country of original purchase. LTE/4G may or may not work in other
country depending on bands and frequencies used.
Maybe you are looking for
-
I have problem with deployment of my customised module in oracle applications
Hai, I have started working with oracle application just recently as I started to customise Forms & Reports. If I am developing forms and reports from the existing modules it is working fine. But as we can develop our own customized module in oracle
-
How do I install my new printer software on my macbook air when there is not a disk drive?
I recently got a new hp all in one printer but the software for it comes on a disk but the macbook air does not have a disk drive..
-
Macbook pro running 10.4.11 can I get it upgraded?
What do I need to do to get it upgraded?
-
Questions about ActiveX Bridge and SWT
Hi ! I found few weeks ago the www.reallyusefulcomputing.com site answering my question about Java & Macro of MSWord. Now I've found two steps that I am not able to overcome. First, when I build a simple application and I have internal libraries to u
-
Hi All, We need to dump a set of tables from BACKUP schema to a dump file so that it can be taken offline from the system. We want to drop those tables once dump file is created so that we can have some free space on the system. I just want to know c