grep and I don't seem to be on the same page. Blame me for that,
I am the one who made the unusual statements.

imagine a world where 'Cop Killer' was removed from the CD.

I can imagine that, it wrecks your argument because we were
talking about fixed size arrays.

That your data structures need to support the requirements of
your business rules is true. But that is not an argument against
embedding arrays in a record, it would depend on the business rules.

I haven't recommended putting a fixed size array into a field.
I have suggested putting it into a set of fields. As an example:

create table acct_year ( -- G/L balances for a year gl_acct varchar, year int, bal_0 numeric(12,4), -- ending balances for qtrs bal_1 numeric(12,4), bal_2 numeric(12,4), bal_3 numeric(12,4) );
On the Perl side I have found an array to be the best representation
of this info. Best so far, I'm still ready to refactor everything.
my $acct_year = { gl_acct => '100', year => 2000, bal => [ 9100.03, 783.87, 6339.26, 12.06 ], };

In reply to Re: Flexible Database Updates by rir
in thread Flexible Database Updates by jerrygarciuh

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.