PostgreSQL TRANSACTION
TRANSACTION_TIMESTAMP() function
This function is used to get current date and time (start of current transaction)
Syntax:
timeofday()
Return Type: text
PostgreSQL Version: 9.3
Pictorial Presentation of PostgreSQL TRANSACTION_TIMESTAMP() function

Example: PostgreSQL TRANSACTION_TIMESTAMP() function
Code:
SELECT timeofday();
Sample Output:
transaction_timestamp ---------------------------- 2015-01-15 14:57:22.598-08 (1 row)
N.B. - The outputs may change during the execution for the current date.
Previous: TIMEOFDAY function
Next: Mathematical and Trigonomitecal functions Introduction
- Weekly Trends
- Python Interview Questions and Answers: Comprehensive Guide
- Scala Exercises, Practice, Solution
- Kotlin Exercises practice with solution
- MongoDB Exercises, Practice, Solution
- SQL Exercises, Practice, Solution - JOINS
- Java Basic Programming Exercises
- SQL Subqueries
- Adventureworks Database Exercises
- C# Sharp Basic Exercises
- SQL COUNT() with distinct
- JavaScript String Exercises
- JavaScript HTML Form Validation
- Java Collection Exercises
- SQL COUNT() function
- SQL Inner Join