Help with SQL statement

Aug 03, 2005 3 Replies

Howdy, I need to close customer accounts for a large number of customers approx 2500 were created with a default charge account before I realized what was happening. These customers have never used their accounts and I want to close them I have a few customers who do use them and are carrying balances...



I need help with a SQl statemment to



1) select customers who have accounts with $0 balances
2) Change the account type to "none"

any help appreciated



thx


UPDATE Customer SET AccountTypeID=0 WHERE AccountBalance=0

- Evan Culver New West Technologies

c> Howdy,

Muchas Gracias Evan I knew it would be fairly simple but I didnt think it would be that simple!!

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required