Re: Simple SQL Distinct...!?
- From: "@sh" <spam@xxxxxxxx>
- Date: Mon, 27 Feb 2006 16:38:43 +0000 (UTC)
I totally agree and by offering them the latest address that matches the
address to which they're sending, a new one wouldn't be inserted, I'd pass
that DID (DeliveryID) on for use with order.
Is there a way to get the DID into the query too?
Cheers, Ash
<markc600@xxxxxxxxxxx> wrote in message
news:1141055631.655033.148880@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
As David has already mentioned, you would be
better off fixing this to prevent duplicates
appearing in the first place. Picking the
latest address using the highest DeliveryID
will probably work (assuming this is an identity),
but you are filling your table with redundant
data - not good in the long term.
.
- References:
- Simple SQL Distinct...!?
- From: @sh
- Re: Simple SQL Distinct...!?
- From: markc600
- Re: Simple SQL Distinct...!?
- From: @sh
- Re: Simple SQL Distinct...!?
- From: markc600
- Simple SQL Distinct...!?
- Prev by Date: Query Analyzer and Profiler won't start from EM Tools menu
- Next by Date: Automating record selection parameters
- Previous by thread: Re: Simple SQL Distinct...!?
- Next by thread: Re: Simple SQL Distinct...!?
- Index(es):