r/SQLServer • u/TryingMyBest42069 • Jun 18 '26
Question How are rollbacks handled in SQL Server?
Hi there!
Let me give you some context.
So I've just began a new job and I've been given the task of working on a new unfinished project.
The only issue is I have no idea how it works and there is absolutely no documentation about how it really works.
I do not have access to the code nor will I ever have access. So my only hope to accomplish something ever is just by the Database alone.
But there is a problem there also. You see none of the tables have reference constraints. Meaning I am not sure how the tables relate to each others and also they have very generic names. And not generic as in Person, or Client but rather AS001 and AS004.
So, no help on the tables either. Now I think my best bet right now is just creating random stuff through the App itself and see the changes that were made to the DB itself.
But I am not sure how SQL Server handles that. If its possible or if its even the best way to handle this situation.
How would you go about handling this situation? Or if this is really the only way? How are rollbacks handled? How can I see what changes are made in a DB via a single action?
Any help or guidance is more than welcome.
Thank you for your time!
View all comments
Show parent comment
1
u/TryingMyBest42069 Jun 19 '26
Pretty much, yeah.
I think I am just a scapegoat for when this thing just inevitable falls apart.
In case you are curious. The main issue is that the company I just got hired in bought a proprietary and closed source App that should handle all of the ERP heavy stuff.
But there were some things that the stakeholders wanted to handle differently so my predecessor starting messing up with the database of the closed source App and now I was left with an Amalgamation of whatever the last guy did and what was supposed to be.
So now we have 2 apps that work kinda together. A web app that just messes up with everything, an ERP that the company bought that I cannot look into its code and they both handle the same DB.
And I have to somehow make it work.
Now the best idea I had is just that. Do stuff on the propietary ERP App and see how is the "right" way to do things so I can fix somethings in the web app that my predecessor created.
That way I can almost accomplish "some" of the things that the ERP was meant to do.