Forum Replies Created

Viewing post 1 (of 1 total)

  • RE: Swaping Row to column

    You can test the following script

    drop table table1

    drop table tableTmp

    drop table table2

    CREATE table Table1

    (

     Col1 varchar(100),

     Col2 varchar(100),

     Col3 varchar(100)

    )

    insert table1 values ('Data1','Data2','Data3')

    insert table1 values ('Data4','Data5','Data6')

    insert table1 values ('Data7','Data8','Data9')

    declare @nRow int

    select @nRow =...

Viewing post 1 (of 1 total)