Monthly Archives: November 2018

Find all tables containing column with specified name

By | November 30, 2018

Here is how to find all tables containing column with specified name in sql server select * from INFORMATION_SCHEMA.COLUMNS where COLUMN_NAME like ‘%ProductName%’ order by TABLE_NAME

Invalid object name STRING_SPLIT in sql server

By | November 3, 2018

While i was working on one of the upgrade project, we were doing DB upgrade from current DB version to latest version and we faced error like ‘Invalid object name STRING_SPLIT’. Our Query was as below, [we wanted to spilt ] DECLARE @StringToSpilt NVARCHAR(50) = ‘A;B;C;D’; SELECT value FROM STRING_SPLIT(@StringToSpilt, ‘;’); Erro: Invalid object nameā€¦ Read More »