Viewing 3 posts - 1 through 4 (of 4 total)
And here're some pseudo-queries and the results I expect from them:
select curr, rate
from (................)
where ddate='01-01-2000'
curr rate
---- ---------------------------------------
1 5.0000
2 55.0000
where ddate='02-01-2000'
----...
April 27, 2011 at 10:29 pm
#1317024
Ok, here's my table and data definition:
--===== If the test table already exists, drop it
IF OBJECT_ID('TempDB..#mytable','U') IS NOT NULL
...
April 27, 2011 at 10:03 pm
#1317016
ddate curr rate
-----------------------...
April 27, 2011 at 12:23 pm
#1316813