‎2008 Jul 10 1:49 PM
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 .
‎2008 Jul 10 1:50 PM
‎2008 Jul 10 1:50 PM
‎2008 Jul 10 1:54 PM
can i access the last record from tha database table ..
is it possible? ...
if yes then how ...
its urgent.
thanks & regards
priyank
‎2008 Jul 10 2:02 PM
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.
‎2008 Jul 10 2:04 PM
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.
‎2008 Jul 10 1:54 PM
No. Max is only for numbers. ( even it will not work for NUMC type )
OPENSQL statements will not work as ASCII format.
Cheers
Kothand