Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. mcd and history table

mcd and history table

Scheduled Pinned Locked Moved Database
tutorialquestion
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    foryou
    wrote on last edited by
    #1

    HI!! Sory my english is bad! I work on a topic of management school I created this mcd I wish someone Regad if it is right or not. I was looking to create a history table for the table CAPITALISE_MODULE and CAPITALISE_SEMESTRE how to define the historical table should I linked to the other table?what are the identifiers.? Thank you for read me! Whay can i insert my file mcd? :-O

    P C 2 Replies Last reply
    0
    • F foryou

      HI!! Sory my english is bad! I work on a topic of management school I created this mcd I wish someone Regad if it is right or not. I was looking to create a history table for the table CAPITALISE_MODULE and CAPITALISE_SEMESTRE how to define the historical table should I linked to the other table?what are the identifiers.? Thank you for read me! Whay can i insert my file mcd? :-O

      P Offline
      P Offline
      Paddy Boyd
      wrote on last edited by
      #2

      I'm sorry, but i really can't understand your question. I don't think that we can help you to define tables when you have only given us the table names, but no other information. What is an mcd?

      1 Reply Last reply
      0
      • F foryou

        HI!! Sory my english is bad! I work on a topic of management school I created this mcd I wish someone Regad if it is right or not. I was looking to create a history table for the table CAPITALISE_MODULE and CAPITALISE_SEMESTRE how to define the historical table should I linked to the other table?what are the identifiers.? Thank you for read me! Whay can i insert my file mcd? :-O

        C Offline
        C Offline
        Colin Angus Mackay
        wrote on last edited by
        #3

        foryou wrote:

        I was looking to create a history table

        If I understand you correctly, the structure of your "history" (or "audit") table will be the same as the source table except you need to add some sort of versioning column in there also. That can be a simple incremented integer, or it can be a datetime, or something else that suits your needs. To maintain the history you need to add triggers to the source table to copy any updates to the "history" table.

        *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


        Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

        F 1 Reply Last reply
        0
        • C Colin Angus Mackay

          foryou wrote:

          I was looking to create a history table

          If I understand you correctly, the structure of your "history" (or "audit") table will be the same as the source table except you need to add some sort of versioning column in there also. That can be a simple incremented integer, or it can be a datetime, or something else that suits your needs. To maintain the history you need to add triggers to the source table to copy any updates to the "history" table.

          *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


          Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

          F Offline
          F Offline
          foryou
          wrote on last edited by
          #4

          Thank you very much Colin Angus Mackay and Paddy Boyd. MCD is Conceptual data model. whay can i send you my MLD?

          F 1 Reply Last reply
          0
          • F foryou

            Thank you very much Colin Angus Mackay and Paddy Boyd. MCD is Conceptual data model. whay can i send you my MLD?

            F Offline
            F Offline
            foryou
            wrote on last edited by
            #5

            HI!! if my table history will be as my table source so my table history is: (id_student, id_module, id_validat_module, note) or informations about students are in student table. if I want to select students in their history with name_etudiants I have to link the history table to student table? Thanks

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups