Afficher un message
Vieux 07/04/2006, 16h51   #5
onedbguru@firstdbasource.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Find date and time of last update

Mighty testy for someone who is asking for ...

1) if there is no DATE field (either some date/time datatype OR a
char/varchar field with date data) then show table status. BTW, most
other database engines require auditing or a date field to determine
last update times. You got lucky here....

2) methods of finding maximum values
select max(datefieldnamehere) from table;
select max(cast(char_datefieldnamehere as date)) from table;

Again, see No 1 if these do not apply.

  Réponse avec citation
 
Page generated in 0,05286 seconds with 9 queries