You know what, I answered your last single-sentence question, but I'm not going to try with this one. Until you provide ome context as to exctly what you've done on your own to solve this issue, you prbably won't find many others here willing to help either. Bytes is a place to learn how to do things on your own, we have to see that you've actually tried something before we're going to give you any answers.
Also, work on your grammer, a much better phrasing of your question would be:
I have stored some Word and Text files in a Database. I'd like to write a script to get the data from the database and display it, how might I accomplish this?
Much more readable.
For the future, one-sentence questions don't give us the feeling that you've done anything to figure this problem out on your own.