Edit

Share via


cursor_current()

Applies to: ✅ Microsoft FabricAzure Data ExplorerAzure MonitorMicrosoft Sentinel

Retrieves the current value of the cursor of the database in scope.

Deprecated aliases: current_cursor()

Syntax

cursor_current()

Learn more about syntax conventions.

Returns

Returns a single value of type string that encodes the current value of the cursor of the database in scope.

Examples

The following example retrieves the current cursor value for the database.

// Retrieve the current cursor value for the database
print CurrentCursor = cursor_current() 

Output

CurrentCursor
2024-08-01T12:00:00Z

The output includes the current cursor value for the database, which is 2024-08-01T12:00:00Z.