Application Development and Automation 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: 
Read only

aggregate function max

Former Member
0 Likes
651

hi evrybdy

can we use MAX aggregate function to pick a field of type char from database table ...if yes thn how ..?

plzzz ans soon .

thank u .

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
601

No You cant use with char data type

field must be numeric type

5 REPLIES 5
Read only

Former Member
0 Likes
602

No You cant use with char data type

field must be numeric type

Read only

0 Likes
601

can i access the last record from tha database table ..

is it possible? ...

if yes then how ...

its urgent.

thanks & regards

priyank

Read only

0 Likes
601

Hi,

In DB tables the data will not be saved as we see in Data Dictionary and even we cannot identify the record positions from the database table.

Read only

0 Likes
601

Hi Priyank,

Do you have a date filed and time field in your table?

Then you can select the records and sort the records in descending order.

Take the first record.

Read only

Former Member
0 Likes
601

No. Max is only for numbers. ( even it will not work for NUMC type )

OPENSQL statements will not work as ASCII format.

Cheers

Kothand