Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE @FindStr varchar(20)
-- Use this variable to hold the string
-- your searching the column names for
SET @FindStr = '<put partial name in here>'
SELECT T1.name AS 'TABLE Name',
T2.name AS 'Column Name',
T3.name + '(' + convert(varchar(4), T3.xtype) + ')' AS 'Data Type',
T2.id
FROM sysobjects AS T1,
syscolumns AS T2,
systypes AS T3
WHERE T1.id = T2.id
AND T2.xtype = T3.xtype
AND lower(T2.name) LIKE '%' + lower(@FindStr) + '%'
Order By T1.name