I would like to get all the data with a  value of 1234 in the field 
JobNum.  Once i collect these records i would like to get the Record with 
the highest ACTLOGID value.

Can you do a :

SELECT max(ACTLOGID), JobNum
FROM activitylog
Where Jobnum='1234'

Or something like that in the query itself?  I dont know if Max is a valid 
term... but it was my best guess :)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to