At 03:43 AM 8/10/2006, you wrote:
Hi All,
Is there any way to refer a row based on the row number or
row count?
I just the effect as below...
E.g. UPDATE TBL_NAME SET COL_NAME = xyz WHERE ROW_NO=4
Or SELECT COL_NAME FROM TBL_NAME WHERE ROW_NO=5
Regards,
Ravi K
Ravi K,
The only way to achieve this is to use an auto-incrementing key
(usually unsigned integer) which gives each row a unique id. The id is
sorted according to the order in which the rows were added.
Mike
The information contained in this electronic message and any attachments
to this message are intended for the exclusive use of the addressee(s) and
may contain proprietary, confidential or privileged information. If you
are not the intended recipient, you should not disseminate, distribute or
copy this e-mail. Please notify the sender immediately and destroy all
copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient
should check this email and any attachments for the presence of viruses.
The company accepts no liability for any damage caused by any virus
transmitted by this email.
www.wipro.com
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]