Viewing 4 posts - 1 through 4 (of 4 total)
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 ...
July 13, 2005 at 7:34 am
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)
June 7, 2005 at 8:19 am
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...
June 7, 2005 at 7:51 am
Viewing 4 posts - 1 through 4 (of 4 total)