I want to query the name of all columns of a table. I found how to do this in:
But I also need to know:
you can use this query
SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE COLUMN_NAME like N'%[ColumnName]%' and TABLE_NAME = N'[TableName]'