OK, i've blown most of yesterday & today massaging data in this frigging database. now that i'm looking at this legacy stuff, it's a damned nightmare. whoever designed the original app didn't know much about database architecture and was apparently only passingly acquainted with the concept of a relational database.
you might well ask, "gee ed, what (the hell) is 'massaging data'?"
yesterday, TS asked about a few things about which i was ranting and although i did (finally) provide an answer to his questions, i'm gonna enlarge upon that a bit now--mainly b/c it's still pissing me the hell off. :D
but to answer the question: in brief, it's manipulating the data so that all the fields are structured properly. it's the manipulation of data you have to do to old data before you let someone go and, well...manipulate it. you coax, you sort, you adjust, you fiddle...you massage.
[deep breath]
people who work with databases detest using fields in which the data doesn't fit into some kind of format if at all possible. "free form text" is a set of three four-letter words, as a very wise DBA once observed to me.
the legacy app is designed to hold 2 phone numbers and doesn't provide much space for users to add comments or notes. i'm seeing records that have phone numbers stuffed into address fields, the country field, the ZIP code--and of course, none of it in any standardized way, forcing me to search high & low in every field. and i've just had to add a new table to account for all of this data--fortunately, not a big deal logistically, but philosophically not at all desirable.
do you know how many ways it's possible to indicate that a phone# is temporary? i've counted at least 2 dozen.
and all of this--all of it!--could have been avoided had the guy who designed this app knew thing one about restricting user input.
that ignorant fuck!
ed



