A
ardi
Please help me, ihave problem about creating historical query.
For example, i've table :
Date_stamp Value Status
-------------------------------------------
1-Jan-05 90 Good
5-Jan-05 95 Bad
8-Jan-05 97 Good
i need query so the output from that query, like :
Date_stamp Value Status LastDate
------------------------------------------------------------
1-Jan-05 90 Good 1-Jan-05
2-Jan-05 90 Good 1-Jan-05
3-Jan-05 90 Good 1-Jan-05
4-Jan-05 90 Good 1-Jan-05
5-Jan-05 95 Bad 5-Jan-05
6-Jan-05 95 Bad 5-Jan-05
7-Jan-05 95 Bad 5-Jan-05
8-Jan-05 97 Good 8-Jan-05
i have create query with comparison date method (get minimum diff
between two date)
but it's useless because my table contain more than 100 000 rows,
when i running that query my computer is hang.
do you have any suggestion ?
thanks
ardi
For example, i've table :
Date_stamp Value Status
-------------------------------------------
1-Jan-05 90 Good
5-Jan-05 95 Bad
8-Jan-05 97 Good
i need query so the output from that query, like :
Date_stamp Value Status LastDate
------------------------------------------------------------
1-Jan-05 90 Good 1-Jan-05
2-Jan-05 90 Good 1-Jan-05
3-Jan-05 90 Good 1-Jan-05
4-Jan-05 90 Good 1-Jan-05
5-Jan-05 95 Bad 5-Jan-05
6-Jan-05 95 Bad 5-Jan-05
7-Jan-05 95 Bad 5-Jan-05
8-Jan-05 97 Good 8-Jan-05
i have create query with comparison date method (get minimum diff
between two date)
but it's useless because my table contain more than 100 000 rows,
when i running that query my computer is hang.
do you have any suggestion ?
thanks
ardi