Forum Replies Created

Viewing 4 posts - 1 through 5 (of 5 total)

  • RE: Getting Nth Maximum

    thanx remi. it works fine

    Regards,
    Easwar

  • RE: Getting Nth Maximum

    the 3rd maximum value must be 1000 not 2000

    your sql returns as follows

    deptno               sal_3rd             

    -------------------- --------------------

    1                    2000

    2                    1000

    3                    2000

    what i need is

    deptno               sal_3rd             

    -------------------- --------------------

    1                    1000

    2                   ...

    Regards,
    Easwar

  • RE: How to deal with this DATETIME issue!

    declare @StartDate varchar(10), @EndDate varchar(10)

     

    set @StartDate = '01/02/2005'

    set @EndDate = '01/31/2005'

    Select * From temperatures

    Where TempTime between @StartDate and @EndDate

    select * from temperatures

    Where temptime >= convert(smalldatetime,@StartDate,101) and TempTime <= convert(smalldatetime,@enddate,101)

    Regards,
    Easwar

  • RE: Client Server connectivity on SQL Server 2000 Enterprise Edition

    in the create a new DSN dialogue box

    at the server combo box type the IP address of the server instead of the server name.

    again if it won't works

    go to start...

    Regards,
    Easwar

Viewing 4 posts - 1 through 5 (of 5 total)