sa_convert_timestamp_to_ml_progress system procedure

For MobiLink scripted uploads only. This converts the progress value for scripted upload from a TIMESTAMP to a 64-bit UNISIGNED BIGINT.

Syntax
sa_convert_timestamp_to_ml_progress( [ t1 ] )
Arguments
  • t1   Use this optional TIMESTAMP parameter to specify the progress value to convert to 64-bit UNISIGNED BIGINT.

Remarks

The function returns an UNISIGNED BIGINT that represents the timestamp passed in as a parameter. This procedure is the inverse of sa_convert_ml_progress_to_timestamp.

Permissions

None

Side effects

None

See also
Examples
SELECT sa_convert_timestamp_to_ml_progress( CURRENT TIMESTAMP );
SELECT sa_convert_timestamp_to_ml_progress( '1900/01/01 1:00' );