---
title: "Re-execute Last SQL"
description: "The last SQL statement executed can be executed again using the syntax."
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/docs/invantive-script/statements/re-execute-last-sql
original: https://documentation.invantive.eu/en/docs/invantive-script/statements/re-execute-last-sql
updated: 2026-08-09T00:00:00Z
license: https://documentation.invantive.eu/en/
---

# Syntax
The last SQL statement executed can be executed again using the syntax:
```
local execute last sql
```

# Examples
The following example repeatedly prints the current time:
```
select sysdateutc

local execute last sql

local execute last sql
```