-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
concept entry sql rollback #5168 #5210
concept entry sql rollback #5168 #5210
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Author,
I had a look at your file, I have suggested a few changes so make them asap.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Author,
I had a look at your file, I have suggested a few changes so make them asap.
Co-authored-by: Savi Dahegaonkar <[email protected]>
Co-authored-by: Savi Dahegaonkar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Heu @judygitsthejobdone ,
I have suggested you some changes please make them asap.
Thanks,
Savi
Co-authored-by: Savi Dahegaonkar <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey Author,
LGTM!
Thanks,
Savi
ROLLBACK TO SAVEPOINT first; | ||
SELECT * FROM table_1; | ||
|
||
```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```` |
SET dob = "1/21/2024" | ||
WHERE id = 2; | ||
SELECT * FROM table_1; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ROLLBACK TO SAVEPOINT first; | ||
SELECT * FROM table_1; | ||
|
||
```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
```` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, @judygitsthejobdone!
👋 @judygitsthejobdone 🎉 Your contribution(s) can be seen here: https://www.codecademy.com/resources/docs/sql/commands/rollback Please note it may take a little while for changes to become visible. |
Description
New entry on the ROLLBACK concept in SQL under docs/content/sql/concepts/commands/rollback/rollback.md
Includes introduction, syntax, and examples for ROLLBACK and ROLLBACK TO SAVEPOINT.
This is my first contribution, done as part of the Learn Git & GitHub course on codecademy.
Issue Solved
Closes #5168
Type of Change
Checklist
main
branch.Issues Solved
section.Note: yarn test is failing 1 test, displaying the below. I have double-checked the file structure and it is as requested, happy to oblige any requested changes to resolve.