|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
i want to retrieve one last row form a table in sql server.
all the fields are varchar. ![]() |
|
#2
|
|||
|
|||
|
There is no such thing as a last row in a table. Records are only identified by the values in the columns.
Be a bit more specific as to what you are trying to do. |
|
#3
|
||||
|
||||
|
yeah there's no way to find the last row, you can sort and
do a select top 1 * from table order by somefield |
![]() |
| Viewing: Dev Shed Forums > Databases > MS SQL Development > retrieve one last row from a table |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|