How to find Column Name in Database Table or Store procedure


/*Search Column Name in Table*/
SELECT t.name AS table_name,
       SCHEMA_NAME(SCHEMA_ID) AS SCHEMA_NAME,
       c.name AS column_name
FROM   sys.tables AS t
       INNER JOIN sys.columns c
            ON  t.OBJECT_ID = c.OBJECT_ID
WHERE  c.name LIKE '%IsDOBSendEmail%' /*Put your Search  Columnname */
ORDER BY
       SCHEMA_NAME,
       table_name;


/*Search Column Name in Store Procedure*/
SELECT ROUTINE_NAME AS [PROCEDURE NAME],
       ROUTINE_DEFINITION AS [DETAILS]
FROM   INFORMATION_SCHEMA.ROUTINES
WHERE  ROUTINE_DEFINITION LIKE '%IsDOBSendEmail%' /*Put your Search  Columnname */
       AND ROUTINE_TYPE = 'PROCEDURE'