A在currentprice表中创建一个after触发器,用来比较在inserted和deleted表中stockprice列的值.如果值不一样,那么触发器将插入一行到pastprice表中.
B在currentprice表中创建一个after触发器,用来比较在inserted和CurrentPrice表中stockprice列的值。如果值不一样,那么触发器将插入一行到pastprice表中.
C在CurrentPrice表上创建一个级联更新约束来更新PastPrice表中的行。
D创建一个存储过程用来比较表CurrentPrice上StockPrice字段的新旧值。如果值不一样,那么过程将插入一行到pastprice表中.