![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am using 10g. I have an audit trail stored procedure to create. There is a customer table. Then customer_audit table. Customer and Customer_audit tables are identical. Each time a record is changed, a copy of the old record is sent to Customer_Audit. My report needs to compare the record in the customer table verses the one in the audit table. I basically want my code to go field by field and spot the differences. I intend to send differences to a table. I know that I can do this with cursors. Is it possible to do this with an SQL statements? |
#3
| |||
| |||
|
|
I am using 10g. I have an audit trail stored procedure to create. There is a customer table. Then customer_audit table. Customer and Customer_audit tables are identical. Each time a record is changed, a copy of the old record is sent to Customer_Audit. My report needs to compare the record in the customer table verses the one in the audit table. I basically want my code to go field by field and spot the differences. I intend to send differences to a table. I know that I can do this with cursors. Is it possible to do this with an SQL statements? |
![]() |
| Thread Tools | |
| Display Modes | |
| |