Question: Do you have a SQL Script to locate SQL Server LOB columns? I need to find them as I'm organizing a SQL Server conversions and need to identify the SQL Server LOB columns for special attention
Answer: Use this SQL Script as a starting point to identify the LOB columns in your SQL Server tables.
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE DATA_TYPE IN ('NTEXT','IMAGE' ,'XML', 'VARBINARY','TEXT' ) OR (data_type IN ('NVARCHAR','VARCHAR') and character_maximum_length = -1)
Find other useful details in SQL Server
List Foreign Keys referencing tables in SQL Server
What are the triggers in SQL Server
How to find all identity columns in SQL Server