× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



My point was more about changing prices than about SQL and record-based
processing.  I rather enjoyed the "makes me ill" comment.  I think you're
right that the example dumbs down the business process, though not for the
same reasons you noted.  You suggested that price changes would be less
global and less frequent.  For me it's a true business need, however, it's
more about the amount of processing that really goes into changing a price.

At the time that you're changing a price you may need an audit table of
"from price" and "to price" for every record changed.  There's a net change
to the value of inventory that has to be applied to stock ledger and general
ledger.  You may need to create POS price change transactions or price
ticketing files.  I was trying to figure out if it would be possible to
capture all of this in a job stream and use the example SQL as one of the
last steps.  It seems like the SQL statement that just performs a percentage
markup or markdown would make it impossible to perform the other steps.

As I watch folks in the Oracle world try to code some of these processes I
see some ugly, ugly code involving buffers and/or cursors.  I'd love to see
how a good database design and truly skilled SQL developers would code such
a business process.

-Jim

James Damato
Manager - Technical Administration
Dollar General Corporation
<mailto:jdamato@dollargeneral.com>


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.