Check out example codes for "t-sql find object by name". It will help you in understanding the concepts better.

Code Example 1

-- SEARCHING FOR A SPECIFIC OBJECT CROSS DATABASE
SELECT
	*
FROM
	Sys.Objects
WHERE 1=1
	AND name = '%HERE_THE_NAME_OF_OBJECT%'

Learn ReactJs, React Native from akashmittal.com