LAST_QUERY_ID
Learn how to use the LAST_QUERY_ID utility function in PlaidCloud Lakehouse. Returns the ID of the most recently executed query - with syntax and examples.
Returns the ID of the most recently executed query.
Analyze Syntax
func.last_query_id()
Analyze Examples
func.last_query_id()
┌───────────────┐
│ 'abc-123-def' │
└───────────────┘
SQL Syntax
LAST_QUERY_ID()
SQL Examples
SELECT LAST_QUERY_ID();
┌─────────────────┐
│ abc-123-def-456 │
└─────────────────┘