I recently worked on a project that needs to convert Notes database to a web project. The first thing is to export data from Notes DB to SQL. Since Notes is NOT a relationship database, after the export, I found the column names are very confusing, so the task becomes how to interpret the relationship between the columns. I decided that it is neccesary to find out every column name in every table and start the analysis from there. I was able to write a script to generate all the columns names and their tables names using this script, I hope you find it helpful.
Imagine you come to work in the morning and notice that some new rows have been entered into the msdb.dbo.suspect_pages table during the night. Usually the first thing you’re going to do is run DBCC CHECKDB, but if your database is a few TB, that could be several hours before you know where the problem is, and which table may have lost data. You want to find out which table is involved as soon as possible so you can explore your disaster recovery options.