I disconnected my battery when I swapped steering wheels - no issue with the radio wanting a code.
I also gotta think that if you ever do want/need the code, your dealer should be able to help you out. Show registration papers with your name and a VIN that matches the car you drove in on and they should be able to look up anything you need to unlock it.