Any codes it may have had will be gone. As Dave points out, that(the batt) may have been the problem with the car dying, but it may also be an alternator issue. Once you replace the battery, you may want to have the alternator tested, or, if you have a voltmeter, check it yourself, at the battery. You should have at least 14v with the engine running...you can get by with 13v, but 14v would mean you have a good charging system.
______________
Joel Adams
My Link
(click for Texas-sized view!) NCRS
"Money can't buy happiness -- but somehow it's more comforting to cry in a CORVETTE than in a Kia"