Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialchristian mbouwen
1,180 PointsCan you rollback a DELETE statement?
I was wondering if you can roll back a delete statement since they were said to be a permanent change, though if it was not yet committed, can it be rolled back..
1 Answer
Jonathan Grieve
Treehouse Moderator 91,253 PointsAs a rule, you can't rollback data that you have deleted. But it's a little complicated depending on which version of SQL you're using. The transaction syntax might be a little different
Here's a bit more detail. :-)
christian mbouwen
1,180 Pointschristian mbouwen
1,180 PointsOh okay thanks a ton! I understand now. I'll stick to general rule then.