TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Liladhar Nimje
NA
30
5.3k
SQLScripts for All countries, their states and city in world
Jun 20 2015 6:11 AM
Hi All,
I am creating a database where I need to create tables like 'tblCountry' which will contains all countries in world with names, short name, country code and phone code.
Similarly for all countries in 'tblCountry'', I need to create table 'tblState' which will contains all states of that country with name and short name.
Similary for all states in 'tblState', I need to create table 'tblCity' which will contains all city of that state.
Each of these tables will be related to each other so that I can retrieve required data based on selected country, state and city.
Does any one having SQL scripts for the same?
Thanks in Advance.
Reply
Answers (
3
)
How delete foriegn key in dbms who exist in other table?
sql server certification course