I have found a solution. Doesn't know if this is the best or not.
SELECT c.name, s.name + '.' + o.name FROM sys.columns c INNER JOIN sys.objects o ON c.object_id=o.object_id INNER JOIN sys.schemas s ON o.schema_id=s.schema_id WHERE c.name LIKE '%text%' AND o.type = 'U'
The result is now perfect. As I said, syncobj are replication objects, and they do not matter to us. They are used for replication purposes only.
http://www.developmentnow.com/g/114_2007_12_0_0_443938/syncobj-views.htm
EDIT:
Forgotten to add syncobj are stored in the database as Views, so if you need a list of views, you probably have to ignore them, as in my question.
Checking the difference between syncobj and my views, the only difference is the is_ms_shipped column. For syncobj, this is 1, for others 0. This means that syncobj views are created by the system.
PS I will wait for a while, and if no one gives another answer, I will accept mine.
hgulyan
source share