Add an identity column to the table, numbering the columns from 1 to 4742.
Then add another column (type int) to the table and update this last column
to be the value of the identity column plus 999.
HTH,
Rob
-------------------------------------------------------------
Rob Verschoor
Certified Sybase Professional DBA for ASE 12.5/12.0/11.5/11.0
and Replication Server 12.5 / TeamSybase
Author of Sybase books (order online at <a rel="nofollow" style='text-decoration: none;' href="http://www.sypron.nl/shop" target="_blank">www.sypron.nl/shop</a>):
"Tips, Tricks & Recipes for Sybase ASE"
"The Complete Sybase Replication Server Quick Reference Guide"
"The Complete Sybase ASE Quick Reference Guide"
mailto:rob@YOUR.SPAM.sypron.nl.NOT.FOR.ME
<a rel="nofollow" style='text-decoration: none;' href="http://www.sypron.nl" target="_blank">http://www.sypron.nl</a>
Sypron B.V., P.O.Box 10695, 2501HR Den Haag, The Netherlands
-------------------------------------------------------------
"woooopa" wrote in message
> I'm trying to assign a destinct value to 4,742 rows. How would I
> construct a script to accomplish this starting with a value of 1000?
> Thank you.
> >> Stay informed about: Updating an INT column with a sequential value?