My account
Book a demo
Search
Product
Key Features
Data Catalog
Catalog all your data, reports, and collaborate with your data community.
Data Lineage
Create a map of your data flow with automated lineage on object and column level.
Data Quality & Profiling
Improve data quality and increase trust in your data with data profiling, lineage & more.
Dataedo AI
Create auto object descriptions and get help from AI chat in finding tables & writing queries.
Business Glossary
Build and share a universal glossary of business terms, policies and rules.
Data Classification
Find and tag sensitive data in your databases to comply with data protection regulation.
See all features →
More Features
Data Community
Domains
Reference Data Management
StewardHub
Schema Change Tracking
Workflows
Technologies
Connectors
SQL Server
Snowflake
Power Bi
Tableau
Qlik Sense
soon
Databricks
Microsoft Fabric
Azure
AWS
Oracle
All Connectors →
Learn More
Metadata Scanning
Solutions
By Use Case
Data Governance
Data Quality
Selft-Service Analytics
Data Protection
Business Intelligence
Data Warehousing
Metadata Management
All Use Cases →
By Industry
Financial Services
Healthcare
Public & Government
Education
Technology
Retail
Energy & Utilities
All Industries →
Pricing
Resources
Learn About Dataedo
Documentation
Roadmap
Tutorial Videos
Dataedo Bootcamp
Downloads
Learn About Data
Blog
Webinars
Tutorials
Knowledge Base
Data Events
After Hours
Data Cartoons
Cartoon Ebooks
About us
About us
Why Dataedo
Our Customers
Our Partners
Careers
Contact Us
Book a demo
Try Dataedo
Database Query Toolbox
Find last query executed by specific session in popular relational databases
Piotr Kononow
17th January, 2019
Queries below find last query executed by specific session in popular relational databases:
SQL Server: Find last query executed by specific session
Azure SQL Database: Find the last query executed by a specific session
Snowflake: Find last query executed by specific session
Amazon Redshift: Find last query executed by specific session
Teradata: Find last query executed by specific session
Vertica: Find last query executed by specific session
PostgreSQL: Find last query executed by specific session
MySQL: Find last query executed by specific session
MariaDB: Find last query executed by specific session