If I understand the problem correctly...and rekeying = updating integer
primary keys so that they're internally consistent in "this" DB, but
possibly no longer externally consistent in the master DB...

Best solution might be to change some/all primary keys to GUID's / UUID's.
This should guarantee that they're always internally *and* externally
consistent with no updating ever.

"one's annual risk of being hit by a meteorite is estimated to be one
chance in 17 billion,[34] that means the probability is about 0.00000000006
(6 × 10-11), equivalent to the odds of creating a few tens of trillions of
UUIDs in a year and having one duplicate. In other words, only after
generating 1 billion UUIDs every second for the next 100 years, the
probability of creating just one duplicate would be about 50%. The
probability of one duplicate would be about 50% if every person on earth
owns 600 million UUIDs."

http://en.wikipedia.org/wiki/Globally_unique_identifier
http://en.wikipedia.org/wiki/Universally_unique_identifier

On Wed, Aug 8, 2012 at 6:09 AM, Kevin Parker <[email protected]>wrote:

>
> I can't see an elegant solution to this but thought I'd pose the question
> here in case someone has a better insight than me to this type of issue.
>
> Here's the business problem....
>
> System Owner runs a web based system (CF8 and SQL Server 2005 on a shared
> hosting platform). Their Client orders up an assessment for an Applicant
> (via the web system) and the Applicant goes to the web based system to
> complete the assessment. The system them notifies the System Owner (by
> email) that an assessment has been done and they do some further work and
> report back to the Client.
>
> As part of internal processes the System Owner rekeys a subset of the data
> into their internal systems (mainly demographic data, not assessment data).
> That triggers some internal activities as part of the assessment and also
> triggers raising an invoice for the service.
>
> The internal system is not web facing and (they tell me) is MS Access
> interfacing to SQL Lite.
>
> I'm trying to identify ways to reduce the level of rekeying here when an
> assessment has been completed but I think without some major internal
> changes or moving their internal system out to the web or elsewhere then it
> will remain a manual operation.
>
> Thank you!!!
>
> ++++++++++
> Kevin Parker
> m: 0418 815 527
>
> ++++++++++
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:352068
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to