change battery on 1996 Cadillac Eldorado

I need to replace my battery I was told this can cause the computer to loose its codes is this true

Get Your Car Fixed at a RepairPal Certified Shop.
We certify shops based on expertise, quality work, and verified customer reviews
1 answer
Yes you will loose them if their is any ... But if you do have "hard codes " they will return so you can deal with them ... You will have a engine light on ... So not to worry :)