Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)

  • RE: Concatenating Rows

    We can also concatenete rows using coalesce function, I have given example for that,

    Declare @Name as varchar(Max);

    with fruit as (

    select 'Apple' as name, 101 as id union...

  • RE: SQL 2008 T-SQL

    When u declaring local variable at the same statement u can't assign a value

    e.g Declare @i as int = 100

    it will give error,

    u have to declare like

    Declare @i as int

    set...

Viewing 2 posts - 1 through 2 (of 2 total)