HTC Desire crashed, deleted all SMS/MMS. Can I recover?
I don't hold out much hope that the .db file was not overwritten, but I recommend mounting the phone storage to a PC (preferably Linux as Mac will write immediately and Windows might also) to attempt recovery.  I don't know what tool to use offhand but search results look promising http://www.google.com/q=linux+file+recovery