Forum Replies Created

Viewing 12 posts - 1 through 13 (of 13 total)

  • RE: guyz help me

    SSchampion

    curser can u write sample query of it ?

  • RE: guyz help me

    @old hand

    but i have the inner condition if @@rowcount=0 then break then shouldnt go infinite......

    @sean

    Curser ?? can u write sample query of it ?

  • RE: guyz help me

    yes i know tat ..but i want to use loop becoz want clear looping concept in SQL jst pretty mch confuse in it..

  • RE: help required plz

    Select

    full_name, Case WHEN full_name LIKE '% % %'

    Then

    SUBSTRING(full_name, (CHARINDEX(' ', full_name) + 1),

    CHARINDEX(' ', (SUBSTRING(full_name, (CHARINDEX(' ', full_name) + 1),

    (LEN(full_name) -

    CHARINDEX(' ', full_name))))))

    Else

    null

    End

    'Middle_Name' From #names

    update

    #names set middle_name=Case WHEN full_name LIKE...

  • RE: help required plz

    well tatz not important whether is the surname or not.. all i need is to break the string 🙂

  • RE: help required plz

    yes ..it will always have space ......the only constant thing is space after every word....

    wat will b the possible solution ??/

  • RE: unique problem with t-sql

    select ordernumber session_time session_id email_id

    from table

    where session_time=(select max(session_time) from table)

    and email_id=(your desired email)

    tat will be possible solution by my understanding of ur question!!

  • RE: unique problem with t-sql

    select ordernumber session_time session_id email_id

    from table

    where session_time=(select max(session_time) from table)

    tat will be possible solution by my understanding of ur question!!

  • RE: help required

    thanx its working 🙂

  • RE: help required

    YES

  • RE: hey plz help me out

    hey guys i have figure it out.....and got the correct query thanx anyways 🙂

  • RE: hey plz help me out

    myquery

    =============

    select distinct a.country,a.zone,a.branch,a.user1,' ' as 'user2'

    from test a ,test b

    where

    a.country=b.country

    anda.zone=b.zone

    and a.branch=b.branch

    guys i have this two records of users of same country ,zone...

Viewing 12 posts - 1 through 13 (of 13 total)