bryan.holmstrom (7/27/2015)
Thank you for the quick reply but I need the actual tables not the system tables.Database = 'xxxCRM'
Example table = accountbase (field = 'modifiedon' or even 'createdon' for each record in the table.
Account Name CreatedOn ModifiedOn
Barney Ruble '07/27/2015' '07/25/2017'
yes exactly. run my query.
it finds the "actual" table names, and generates the queries you would need.
so if the table [accountbase] has a column named [ModifiedOn], it would be among the generated commands.
my query helps if you have lots and lots of tables with that column; if it was only two or three tables, you could do it manually, but you want to leverage any datasources(like the list of columns) when you can.
Lowell