Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: Dynamic Trigger update to column

$
0
0

Sounds like you want to perform a kind of PIVOT operation here.

What is the purpose (application wise) of this information duplication? Effectively you are going to store the same information multiple times here - what's the added value?

 

Wouldn't a SELECT on the original table be sufficient instead? Building a static transpose-view is rather simple.

 

Using triggers is the wrong solution in most cases. It hides data design and transformation logic behind a DML operation.

 

- Lars


Viewing all articles
Browse latest Browse all 9052

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>