This document contains a SQL query that searches for a table name across all databases on a SQL Server instance. It dynamically builds a UNION query to search the sys.tables catalog view in each database for any table whose name contains the string provided in the @TableName parameter. The query is built using FOR XML and STUFF functions and executed with sp_executesql to return the database and table names matching the search criteria.