How do I get a list of all the tables defined for the database when using active record?
Don't know about active record, but here's a simple query:
select table_name from INFORMATION_SCHEMA.Tables where TABLE_TYPE = 'BASE TABLE'