JavaRush
AI Academy
new
Promotion
Learning
Courses
Tasks
Quizzes
Games
Help
Schedule of nudges
Internship
Community
Users
Forum
Chat
Articles
Success stories
Activities
Reviews
Subscriptions
Light theme

Lectures

  • Reviews
  • About us
  • CS50
Start
Start learning
Start learning
  • My progress
  • Courses
  • Quest map
  • Lectures
  • Nested Transactions: SAVEPOINT, ROLLBACK TO SAVEPOINT

    SQL SELF
    53 level,0 lecture
    In this lecture, you'll learn how to pull off "nested transactions" in PostgreSQL using savepoints (SAVEPOINT), how to partially roll back changes inside a single transaction, and you'll get some hands-on tips for using SAVEPOINT, ROLLBACK TO SAVEPOINT, and RELEASE SAVEPOINT to flexibly handle errors and stages in tricky database scenarios.
    Open
  • Calling Procedures and Functions Inside Transactions

    SQL SELF
    53 level,1 lecture
    In this lecture, you'll learn how functions and procedures work in PostgreSQL 17 in the context of transactions: what makes them different, how to manage transactions inside procedures, how to do partial rollbacks, and what limitations exist with nested calls. There are practical examples and answers to common questions.
    Open
  • Building Multi-Step Procedures: Data Validation, Insert, and Logging

    SQL SELF
    53 level,2 lecture
    In this lecture, you'll learn how to build multi-step procedures in PostgreSQL: validate data, perform inserts, and log actions all within a single transaction. We'll break down the difference between functions and procedures, how to handle errors, use savepoints, and best practices for multi-step business logic.
    Open
  • Error Handling and Rolling Back to Original State: EXCEPTION, RAISE

    SQL SELF
    53 level,3 lecture
    In this lecture, you'll learn how to use EXCEPTION and RAISE blocks in PostgreSQL to handle errors, partially roll back changes, and log errors in PL/pgSQL functions and procedures. We'll break down the syntax, limitations, real-life examples, and best practices for making your business operations more robust.
    Open
  • Nested Procedure Calls with EXECUTE: Dynamic SQL Execution

    SQL SELF
    53 level,4 lecture
    In this lecture, you'll learn how to use dynamic SQL in PL/pgSQL with the EXECUTE command: how to create and modify tables with dynamic names, build universal procedures, and protect yourself from SQL injection. Real-life examples and security tips will help you automate complex tasks in PostgreSQL.
    Open
Learn
  • Registration
  • Java course
  • Help with tasks
  • Pricing
Community
  • Users
  • Articles
  • Forum
  • Chat
  • Success stories
  • Activities
Company
  • About us
  • Contacts
  • Reviews
  • FAQ
  • Support
JavaRushJavaRush — is an interactive online course for learning Java programming from scratch. It contains 1200 practical tasks with one-click solution checking, the necessary minimum of theory on Java basics, and motivating features that help you complete the course: games, quizzes, interesting projects and articles on effective learning and the career of a Java developer.
Follow us
Язык интерфейса
Русский
English
Українська
"Programmers are not born" © 2026 JavaRush
MastercardVisa
"Programmers are not born" © 2026 JavaRush