AugForums.com

An Acumatica User Group

  • Free
    • Start Here
    • Rolodex
    • Podcast
    • Blog
    • Forums
  • Paid
    • AugSQL
    • GI Course
    • GI Library
    • Consulting
  • Register
Acumatica Forums

By using this website, you agree to our Terms of Use (click here)

Forums
AugSQL
AugSQL
BEGIN TRAN, ROLLBAC...
 
Notifications
Clear all

Idea - Gathering Feedback BEGIN TRAN, ROLLBACK TRAN, and COMMIT TRAN

 
Votes Received: 1

AugSQL
Last Post by Tim Rodman 2 years ago
1 Posts
1 Users
1 Reactions
58 Views
RSS
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
Topic starter
May 9, 2023 3:47 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Not sure if this would be possible, but it would be nice to be able to use the BEGIN TRAN, ROLLBACK TRAN, and COMMIT TRAN SQL statements. They are useful when doing UPDATE and DELETE statements because you can do something like:

BEGIN TRAN
UPDATE Table SET Column='New Value"
WHERE...

then make sure that the number of rows updated is the number of rows that you expected to update.

This allows you to ROLLBACK TRAN or COMMIT TRAN accordingly.

Jwright reacted
Tim Rodman
Posts: 3193
 Tim Rodman
Admin
Topic starter
July 9, 2023 4:52 pm
(@timrodman)
Famed Member
Joined: 10 years ago

Currently this is what happens when you try to do BEGIN TRAN, then COMMIT TRAN:

image
Reply
Forum Jump:
  Previous Topic
Next Topic  
Forum Information
Recent Posts
Unread Posts
Tags
  • 12 Forums
  • 2,521 Topics
  • 10.9 K Posts
  • 26 Online
  • 2,321 Members
Our newest member: Courtney Wilder
Latest Post: Can UDFs be populated using an Import Scenario?
Forum Icons: Forum contains no unread posts Forum contains unread posts
Topic Icons: Not Replied Replied Active Hot Sticky Unapproved Solved Private Closed

Online Members

 No online members at the moment

Acumatica Forums

Terms of Use & Disclaimers :: Privacy Policy

Copyright © 2025 · AUG Forums, LLC. All rights reserved. This website is not owned, affiliated with, or endorsed by Acumatica, Inc.

‹›×

    ‹›×