this post was submitted on 06 Nov 2023
1312 points (98.7% liked)

Programmer Humor

32179 readers
425 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 34 comments
sorted by: hot top controversial new old
[–] [email protected] 6 points 11 months ago

Had something like that happen to a local dev database (thankfully). A dev next me blurts out "how to I rollback an update in SQL server"? He was used to Oracle and how easy it is to rollback something. Had to explain that commit just happens in SQL server regardless of whether or not you put that commit line in.

[–] [email protected] 4 points 11 months ago

wasnt halloween last week. stop scarin me

[–] [email protected] 4 points 11 months ago

I'm dying lol

[–] [email protected] 3 points 11 months ago

For MS-SQL. If it is production, it has a full transaction log, right? I mean I know for development use I turn that off, but for live data you want that on. You should be able to roll back to any point since the last time it was truncated. Or right before hitting return to whatever level of accuracy you're comfortable with.

[–] [email protected] 1 points 11 months ago

BEGIN TRANSACTION is your friend

load more comments
view more: ‹ prev next ›