|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Select Field value from last record issue
Alright, I am trying to select the value held in a field named IP_Addr from the last record in the database. How do I select the value from the IP_Addr field from the last record in the database?
|
|
#2
|
|||
|
|||
|
Do you know the primary key ID for that record? If so, just select for that key. If not you can do something like this:
select ip_addr from myTable where id = (select max(id) from myTable) |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ColdFusion Development > Select Field value from last record issue |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|