Forum Replies Created

Viewing post 31 (of 31 total)

  • RE: Row and column values comparison

    I am not sure why nobody is posting replies but I found solution below.

    declare @cols nvarchar(max), @SQL nvarchar(max), @TableName varchar(10) ='Table1'

    select @Cols = stuff((select ', ' + quotename(Column_Name) from INFORMATION_SCHEMA.COLUMNS...

Viewing post 31 (of 31 total)