Best way to flatten/denormalize SQL lookup tables?

后端 未结 3 2190
名媛妹妹
名媛妹妹 2021-02-14 18:44

I have a bunch of tables like this:

Lookup_HealthCheckupRisks
------------
ID  Name
1   Anemia
2   Anorexic
3   Bulemic
4   Depression
...
122   Syphilis



Pati         


        
3条回答
  •  挽巷
    挽巷 (楼主)
    2021-02-14 19:26

    How about using triggers on INSERT AND UPDATE, DELETE, so that these Denormalized table gets filled up...

提交回复
热议问题