[AccessD] Put humpty dumpty back together again

rosalyn.clarke at barclays.com rosalyn.clarke at barclays.com
Fri Jun 6 09:26:22 CDT 2008


Convert your NULLS to zero length strings before you start? 

-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jwcolby
Sent: 06 June 2008 15:20
To: Access Developers discussion and problem solving; Dba-Sqlserver
Subject: [AccessD] Put humpty dumpty back together again

I have a database that has split the address line into

HouseNumberPrefix
HouseNumber
HouseNumberSuffix
Direction
StreetName
Mode (N, NW etc)
Quadrant
Appt#

I need to put Humpty back together again to feed off to Address Validation.
How would I do that in SQL?

I THINK I can just append them all together with spaces between the parts and
that would be fine EXCEPT that when you do something like NULL + SomeString
you end up with null.

How would I do what I am trying to do in SQL?

--
John W. Colby
www.ColbyConsulting.com
--
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com

This e-mail and any attachments are confidential and intended solely for the addressee and may also be privileged or exempt from disclosure under applicable law. If you are not the addressee, or have received this e-mail in error, please notify the sender immediately, delete it from your system and do not copy, disclose or otherwise act upon any part of this e-mail or its attachments.

Internet communications are not guaranteed to be secure or virus-free.
The Barclays Group does not accept responsibility for any loss arising from unauthorised access to, or interference with, any Internet communications by any third party, or from the transmission of any viruses. Replies to this e-mail may be monitored by the Barclays Group for operational or business reasons.

Any opinion or other information in this e-mail or its attachments that does not relate to the business of the Barclays Group is personal to the sender and is not given or endorsed by the Barclays Group.

Barclays Bank PLC.Registered in England and Wales (registered no. 1026167).
Registered Office: 1 Churchill Place, London, E14 5HP, United Kingdom.

Barclays Bank PLC is authorised and regulated by the Financial Services Authority.




More information about the AccessD mailing list