Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

last datarecord

Former Member
0 Kudos

hallo

how i can read the last data record from database.

is this possible?

regards anujit

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Use MAX key word in your query.

A

3 REPLIES 3

Former Member
0 Kudos

Yes its possible sort the table in descending order and read first one

or you can use read statement and give index of that record

Former Member
0 Kudos

If the field is of number data type use aggregate function MAX.

USe Select single and order by in where clause.

Former Member
0 Kudos

Use MAX key word in your query.

A