
November 9th, 2004, 01:29 AM
|
|
Registered User
|
|
Join Date: Nov 2004
Posts: 1
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
SQL Statement to Update Last Record.
What is the statement that would allow me to change the selected data
in the last record found for a certain column.
UPDATE Times SET TimeOut='$toString',DateOut='$doString' WHERE EmpNum=$emp_num"
This statement updates both the Timeout and DateOut columns for every empnum found.
I need to be able to update just the last record for the empnum found. Could someone help.
Thanks in advance.
Erich
|