CDC in sql server -


i have enabled cdc feature on 1 of database. have below table data in cdc tables

memberid            lastname      __$operation 1                   david         4    1                   dave          4 2                   jimmy         4 2                   test          4 

now problem have query cdc table , rows latest 1 members (most recent updated value). example query return

memberid            lastname      __$operation 1                   dave          4 2                   test          4 

in addition _$operation column, there _$start_lsn , __$seq_val columns. ordering 2 should there.


Comments

Popular posts from this blog

python - Subclassed QStyledItemDelegate ignores Stylesheet -

java - HttpClient 3.1 Connection pooling vs HttpClient 4.3.2 -

SQL: Divide the sum of values in one table with the count of rows in another -