zoukankan      html  css  js  c++  java
  • Check if row or table content has changed

    By using CHECKSUM and CHECKSUM_AGG function in SQL Server, we could easily notice that if anything has changed or not.

    -- Check Row:
    SELECT CHECKSUM(*) 
    FROM TableFoo
    WHERE ID = 1;
    
    -- Check Table:
    SELECT CHECKSUM_AGG(CHECKSUM(*))
    FROM TableFoo
    Happy Coding Everyday~ 快乐编码,享受生活~
  • 相关阅读:
    ZOJ 3795 Grouping
    ZOJ 3791 An Easy Game
    ZOJ 3790 Consecutive Blocks
    POJ 1451 T9
    POJ 1141 Brackets Sequence
    POJ 2411 Mondriaan's Dream
    POJ 2513 Colored Sticks
    Eclipse 快捷键大全
    C# lock关键字(多线程)
    C# 内部类
  • 原文地址:https://www.cnblogs.com/tedzhang/p/3137928.html
Copyright © 2011-2022 走看看