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
It does sound kinda sketchy now that I read back on it.
Basically I have a proprietary software that my predecessor messed around with and created another app one that kinda uses the proprietary software and kinda doesn't and messed around with all of the database.
The DB is a mess and I can't even get it back to what it was at the beginning.
So I figured my best bet was to just see what the original proprietary software did originally but since it is closed source I can't see the code nor functions nor anything.
Just see how it acts on the DB and try to do "kinda" the same on the "new" app that was half baked so that way at least both can work.