AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Administrar bases de datos / HFSQL / Gestión de estadísticas
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
Returns the date of the last update for the index statistics. These statistics have been calculated with HStatCalculate or HIndex.
Ejemplo
// Calculate statistics for the CustomerName key in the Customer data file
HStatCalculate(Customer, CustomerName)

// Get the date the statistics were calculated
ResDate = HStatDate()
Info("The statistics for the CustomerName field were carried out on: " + ...
			DateToString(ResDate, maskDateSystem))
Sintaxis
<Result> = HStatDate([<Data file> [, <Key item>]])
<Result>: Character string
  • Date of the last update performed on the statistics, in YYYYMMDD format (YYYY corresponds to the year, MM to the month and DD the day). The date is returned in UTC format (Universal Time Coordinated).
  • Empty string ("") if the statistics have not been calculated.
<Data file>: Optional character string
Name of the data file used. If this name is not specified, HStatDate uses the last data file used by the last HFSQL management function (function starting with "H").
<Key item>: Optional character string
Name of the key item on which the statistics have been calculated. If this name is not specified, HStatDate will use the last key item used by the last HFSQL management function (function starting with "H").
Observaciones
In HFSQL data files, statistics can be calculated on key items only.
Componente: wd300hf.dll
Versión mínima requerida
  • Versión 9
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 27/03/2025

Señalar un error o enviar una sugerencia | Ayuda local