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

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 :)