Get Texts in Table

How to perform this task?

For Example :
This table exist in a word document

TableName = Example

Column1(primarykey) Column2 Column3 Column4
Data001 123456 asdf 32dwe
Data002 1234 as sdf234

How can i get texts in table…and use them in SQL Query ?
Below are the generated query…based on Example table.

Update Example SET Column2 = 123456,… WHERE Column1=Data001
Update Example SET Column2 = 1234,… WHERE Column1=Data002

Hi,

Any operations of extracting elements from the document are performed using IDocumentVisitor. I must admit your task is quite custom and could take some development effort to implement.