Look at your project References, press Add Reference, go to COM, look for Microsoft Word **.* Object Library (**.* depending on your .net version).
Have fun playing with this class
object missing = System.Reflection.Missing.Value;
object fileName = "normal.dot";
object newTemplate = false;
object docType = 0;
object isVisible = true;
wordApp = new Word.ApplicationClass();
wordDoc = wordApp.Documents.Add(ref fileName, ref _____newTemplate, ref docType, ref isVisible);
wordApp.Visible = true;
wordDoc.Activate();
wordApp.Selection.TypeText("Some Text Here");
You can do the writing to SQL yourself, I don't know it.