I have a table(AccountLookup) with a list of accounts that need to update another table(AccountDetail) with a new account number. BUT Not every record in the AccountLookup table has a match.
I need to find a way to count Match/Unmatched accounts.
The way I am updating is just a simple update statement, via a cursor(pointer).
i.e.
While....
Set Cursor = Accountlookup.Account
Update AccountDetail where Account = Accountnumber
Move Cursor
Loop
Can anyone point me in the right direction? Thanks for your help!
I need to find a way to count Match/Unmatched accounts.
The way I am updating is just a simple update statement, via a cursor(pointer).
i.e.
While....
Set Cursor = Accountlookup.Account
Update AccountDetail where Account = Accountnumber
Move Cursor
Loop
Can anyone point me in the right direction? Thanks for your help!