Hi,
Not sure how easy this is but i'd thought i'd ask anyway...
I need to put ordered integers into a field(order) depending on the value of another field(date)
So the order field ends up with the higher numbers in the records where the date field is further into the future.
So for example,
if the 3 records are
date order
26/06/04
15/01/04
04/07/04
then the stored procedure would put the following values into the order field:
date order
26/06/04 2
15/01/04 1
04/07/04 3
In fact, as long as the order numbers are in the correct sequential order it doesnt matter if there are any gaps.
Any help is really appreciated..
Mark.
Not sure how easy this is but i'd thought i'd ask anyway...
I need to put ordered integers into a field(order) depending on the value of another field(date)
So the order field ends up with the higher numbers in the records where the date field is further into the future.
So for example,
if the 3 records are
date order
26/06/04
15/01/04
04/07/04
then the stored procedure would put the following values into the order field:
date order
26/06/04 2
15/01/04 1
04/07/04 3
In fact, as long as the order numbers are in the correct sequential order it doesnt matter if there are any gaps.
Any help is really appreciated..
Mark.