|
-
Apr 27th, 2004, 08:59 AM
#1
Thread Starter
Fanatic Member
Breaking up an address into chuncks
Hi all, ok we have a database with millions of addresses all stored in just one nvarchar column...
ie. column name | value
Address | 99 Red Hill Drive Town County Post code
Address | 12 the street estate area town county post code
as you can see there are no delimiters to help filter this
we want to store the addresses in our format of
Column Names |
ADDRESS1 |99 RED HILL DRIVE
ADDRESS2 |
ADDRESS3 |
ADDRESS4 |
TOWN |TOWN
COUNTY |COUNTY
POSTCODE |POST CODE
OK so the massive question is how can we get these addresses into our required format.
I've been thinking about it and maybe we could work backwards, use a regular expression to determin the post code(thankfully every record has a post code)
whats your comments and views
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
-
Apr 27th, 2004, 11:54 AM
#2
Frenzied Member
-
Apr 27th, 2004, 02:23 PM
#3
Thread Starter
Fanatic Member
basically i built a indexer than grabs details from certain websites, one of them being the full address, at the time of getting it all to work it was quicker for me to just store the address as a complete string, just to see if the program was do-able, now i know it is ive been refining it and i need to address the Address issue, i could have a <br> delimiter but i would still get a problem with knowing what line goes where ??? whats ya comments
I am curretly building a defect management system for software and web developers,
If you wana try it out (beta test) and keep it for free just send me a message
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|