This question could have many parts ... how to define the database table, how to read the file into memory, how to get the text into the database, how to get them back out. How much have you done and where are you stuck?
Feel free to share smallish sections of real code to illustrate the problem. Use the CODE button below the editor to preserve indenting and formatting.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi