Forum Replies Created

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

  • RE: Update leading Zeros

    try this

    use northwind

    select substring(cast((1000+productid)as varchar(4)),2,3) from products

     

  • RE: Multiple column left outer join for gurus

    Select t.columnA, t.columnB, t1.columnA, t1.ColumnB as nullcolumn

    into #temp

    from subquery1 t

    left outer join

    subquery2 t1

    on t.columnA = t1.columnA

    and t.columnB = t1.columnB

    where t1.columnB is null

    go

    select * from #temp where nullcolumn is null

    hope this...

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