I\'d like to loop over a list of tables. For each table, I\'d like to run an update query.
Psuedo code:
ArrayOfTablesObjects = {[\'tablename1\',\'fieldn
This can only be done using dynamic SQL. This is a very dangerous techique to use and should never be done without a great deal of thought as to how it could harm the database and how you can write it more carefully to protect the database. Please read this article before you consider writing dynamic SQL. http://www.sommarskog.se/dynamic_sql.html