dbTalk Databases Forums  

Brick Codes

comp.databases comp.databases


Discuss Brick Codes in the comp.databases forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Shaun
 
Posts: n/a

Default Brick Codes - 02-17-2004 , 03:03 AM






Hi,

I have a table of Locations around the country. My system produces reports
based on these Locations. I also have a table containing Brick Codes e.g.

Brick Post Code
AB51 AB51
AB52 AB52
AB55 AB55
AB56 AB56
AL01 AL1
AL02 AL2
AL03 AL3
AL04 AL4


How can I compare the first 3 or 4 letters of the postcode in the Locations
table to the corresponding entry in the Brick Codes table so I can add it to
my report?

Thanks for your help



Reply With Quote
  #2  
Old   
Bob Badour
 
Posts: n/a

Default Re: Brick Codes - 02-17-2004 , 11:00 AM






"Shaun" <nospam (AT) nospam (DOT) com> wrote

Quote:
Hi,

I have a table of Locations around the country. My system produces reports
based on these Locations. I also have a table containing Brick Codes e.g.

Brick Post Code
AB51 AB51
AB52 AB52
AB55 AB55
AB56 AB56
AL01 AL1
AL02 AL2
AL03 AL3
AL04 AL4


How can I compare the first 3 or 4 letters of the postcode in the
Locations
table to the corresponding entry in the Brick Codes table so I can add it
to
my report?
substring(...)




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.