Sad to say, but it's true...when you delete the corrupt library file, you'll lose your playlists, play-counts, and star-ratings.
However, if you currently let iTunes automatically orgainze your music, it will reorganize fairly easily when a new library file is created.
This happened to me in January of this year. Each week since then I have gone into my iTunes Music folder and made a duplicate copy of "iTunes Music Library File" and "iTunes Music Library.xml", and save them to a seperate folder. That way, if the library file becomes corrupt again, I can use a back-up copy that is (mostly) up-to-date.
-Josh