How do I select all records that contain "LCS" within the title column in sql.
+1
A:
SELECT * FROM TABLE WHERE TABLE.TITLE LIKE '%LCS%';
% is the wild card matcher.
Owen
2008-08-22 14:22:40
A:
Are you looking for all the tables with a column name which contains the LCS in them? If yes the do this
select table_name
from information_schema.columns
where column_name like '%lcs%'
SQLMenace
2008-08-22 14:27:01