Originally Posted by
akshah1
Hi,
Hope this helps some one, here is the sql for the uk counties:
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Alderney','ALD',1)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Antrim','ATM',2)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Armagh','ARM',3)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Avon','AVN',4)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Bedfordshire','BFD',5)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Berkshire','BRK',6)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Borders','BDS',7)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Buckinghamshire','BUX',8)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Cambridgeshire','CBE',9)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Central','CTR',10)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Cheshire','CHS',11)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Cleveland','CVE',12)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Clwyd','CLD',13)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Cornwall','CNL',14)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Cumbria','CBA',15)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Derbyshire','DYS',16)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Devon','DVN',17)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Dorse','DOR',18)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Down','DWN',19)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Dumfries and Galloway','DGL',20)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Durham','DHM',21)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Dyfed','DFD',22)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Essex','ESX',23)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Fermanagh','FMH',24)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Fife','FFE',25)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Mid Glamorgan','GNM',26)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'South Glamorgan','GNS',27)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'West Glamorgan','GNW',28)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Gloucester','GLR',29)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Grampian','GRN',30)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Guernsey','GUR',31)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Gwent','GWT',32)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Gwynedd','GDD',33)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Hampshire','HPH',34)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Hereford and Worcester','HWR',35)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Hertfordshire','HFD',36)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Highlands','HLD',37)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Humberside','HBS',38)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Isle of Man','IOM',39)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Isle of Wight','IOW',40)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Jersey','JER',41)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Kent','KNT',42)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Lancashire','LNH',43)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Leicestershire','LEC',44)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Lincolnshire','LCN',45)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Greater London','LDN',46)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Londonderry ','LDR',47)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Lothian','LTH',48)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Greater Manchester','MCH',49)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Merseyside','MSY',50)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Norfolk','NOR',51)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Northamptonshire','NHM',52)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Northumberland','NLD',53)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Nottinghamshire','NOT',54)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Orkney','ORK',55)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Oxfordshire','OFE',56)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Powys','PWS',57)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Shropshire','SPE',58)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Sark','SRK',59)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Shetland','SLD',60)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Somerset','SOM',61)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Staffordshire','SFD',62)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Strathclyde','SCD',63)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Suffolk','SFK',64)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Surrey','SRY',65)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'East Sussex','SXE',66)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'West Sussex','SXW',67)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Tayside','TYS',68)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Tyne and Wear','TWR',69)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'County Tyrone','TYR',70)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Warwickshire','WKS',71)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Western Isles','WIL',72)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'West Midlands','WMD',73)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'Wiltshire','WLT',74)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'North Yorkshire','YSN',75)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'South Yorkshire','YSS',76)
Insert [dbo].State(CountryID,Name,Abbreviation,DisplayOrder) values (80,'West Yorkshire','YSW',77)