Bruce,

Why not just determine this number when you do a query?  Why do you need to
have it be stored in the database?

It's easy to create a Perl (or probably PHP, but I really don't know PHP)
script to fill in such a column, too, but you would need to manually
maintain that.  And right now I don't understand the problem well enough to
convince me that such maintenance would be worthwhile ...

Tom Haapanen
[EMAIL PROTECTED]


-----Original Message-----
From: Bruce Collins [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 02 October, 2001 07:04
To: [EMAIL PROTECTED]
Subject: Counting Sequences Clarified


Hello,
Thank's for your interest Paul. I did a poor job
of explaining my problem. Here is another go:
For an athlete's first entry in the database I need a column
value of 1. The second performance entry of the same athlete
would have a value of 2. And so on.
I need to apply this retrospectively to ten
years of performance records. Ongoing updates are not an
issue at present.
Thanks
Bruce

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to