Forum Replies Created

Viewing 15 posts - 211 through 225 (of 389 total)

  • RE: Query in Having Clause

    avdhut.k (8/31/2012)


    Hi,

    Select Lnno From Temp_Check

    Where det_trantype = 'Opbal'

    Group By Lnno

    Having ...

  • RE: Why Index?

    Shadab Shah (8/30/2012)


    Hi,

    The question which i am going to ask will prove that i how newbie i am.

    Basically indexes increases the performance will searching which is nullified while inserting ....

  • RE: Today's Random Word!

    opc.three (8/30/2012)


    MoveOn

    To new assignment

  • RE: subdivision on output query in server 2000

    raghuldrag (8/28/2012)


    alter procedure Goals_history

    (

    @stuid nvarchar(22),

    @startyear nvarchar(22),

    @endyear nvarchar(22),

    )

    as

    begin

    select name,class,noofsubject,rank,test from @tab1

    union

    select name,class,subject,rank,test from @tab2

    where rank is not null

    and studentname=@stuid

    and accodomicyear>=@startyear

    and accodomicyear<=@endyear

    end

    OUTPUT:

    class noofsubject ...

  • RE: table sub division on sql server 2000

    raghuldrag (8/27/2012)


    table-1

    employee details

    ...

  • RE: High Level Designing

    rhythmk (8/26/2012)


    niha.736 (8/26/2012)


    Hi Rajesh, can u please mail me the doc.

    Hey Guys,

    For sharing personal information(emailid) you can send private messages.

    That would secure your mailbox 🙂

    Done 🙂

    However I don't think we...

  • RE: Join making conflict....

    Saga... (8/27/2012)


    Main objective is to find duplicate db's...... and out put is perfect..... which I am looking for....

    Can you please help wi

    Sorry but it is difficult without the sample...

  • RE: sql query prob

    asranantha (8/26/2012)


    hi friends i have a small doubt in sql plz solve

    i have a table that table contains some nullt values and some spaces.

    how to seperate what ever...

  • RE: High Level Designing

    niha.736 (8/26/2012)


    Hi Rajesh, can u please mail me the doc.

    Hey Guys,

    For sharing personal information(emailid) you can send private messages.

    That would secure your mailbox 🙂

  • RE: Today's Random Word!

    SQLRNNR (8/24/2012)


    eccentricDBA (8/24/2012)


    JAZZ Master (8/24/2012)


    Cliff Jones (8/24/2012)


    Daniel Bowlin (8/24/2012)


    High priority

    everything

    nothing

    NIN

    WISH

    boon

  • RE: Using CASE to execute one of two SQL statements

    stephen mehl (8/23/2012)


    Hello --

    Can CASE be used as follows?

    CASE

    WHEN expression is TRUE THEN

    SQLstatement#1

    ELSE

    SQLstatement#2

    END

    Thanks for any help,

    Larry...

  • RE: Replicate value: Need urgent help. Thanks

    mohan.mariyappa (8/23/2012)


    Thanks all. It works

    Hi Mohan,

    Apart from your specific requirement.

    I was thinking about the scenario where first record itself is having NULL.

    You can validate that also in your logic.

  • RE: Replicate value: Need urgent help. Thanks

    rVadim (8/23/2012)


    1. Replication has completly different meaning in SQL Server from what you mean.

    2. Your 2 examples are not equivalent: in 1st it seems you want to take first not...

  • RE: Problem with query

    sandeep rawat (8/23/2012)


    Lynn Pettis (8/23/2012)


    sandeep rawat (8/23/2012)


    table def

    table

    (

    price int,

    typeofpen varchar (20)

    )

    query

    -----

    ,WITH Temp AS

    (MAX(price ) OVER(PARTITION BY typeofpen) AS price

    FROM

    table

    )

    SELECT SUM(mx) FROM temp

    Curious, this...

  • RE: subquery

    Sumit Rastogi (8/23/2012)


    Try this one:

    select * from Table1(nolock) T1 where T1.column1 in (select T2.column1 from Table2(nolock) T2 order by T2.column1 desc)

    Regards,

    Sumit Rastogi

    Hi Sumit,

    It is the best practice to...

Viewing 15 posts - 211 through 225 (of 389 total)