I have a thousand tables in the database. Some names end in _History .
For example:
abc_History bcd_History 123_History
How to find all tables whose names end in _History .
Some things like:
SELECT table_name FROM sys.tables WHERE table_name LIKE '_History%'
AND
error : Invalid column name 'table_name'.
sql sql-server select sql-server-2008 information-schema
Shree khanal
source share