Modelling Logic Gates in Database Design

  • Does anyone have any tips or articles they can point me to in regards to the topic.

    I need to set up a database design where different inputs (table1 contains a list) (using OR,AND, NOR etc) can set a message (table2 contains a list), this would need to be configurable.....

  • This was removed by the editor as SPAM

  • There's a fair amount of info in Books Online about "bitwise" operators, the bit data type, using powers of two, etc.  Not sure what you're looking for or what your requirements are but AND, OR, NAND, NOR, XOR are all possible and, I suppose, could be configurable if stored in a table.  With a bit of forethought and planning, I suppose you could make the equivelent of a "gate array".

    --Jeff Moden


    RBAR is pronounced "ree-bar" and is a "Modenism" for Row-By-Agonizing-Row.
    First step towards the paradigm shift of writing Set Based code:
    ________Stop thinking about what you want to do to a ROW... think, instead, of what you want to do to a COLUMN.

    Change is inevitable... Change for the better is not.


    Helpful Links:
    How to post code problems
    How to Post Performance Problems
    Create a Tally Function (fnTally)

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply