this post was submitted on 19 Oct 2023
1765 points (98.8% liked)
Programmer Humor
32356 readers
1219 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
T-SQL is turing complete. While the MS SQL server has limitations on OS level operations, if you allow yourself some leeway with CLR wrappers for the win32 API, there's no reason I can think of you wouldn't be able to get the database engine to be a webserver reacting to incoming requests on port 80, or drawing GUIs based off of table state.
It's be slow and terrible, but doable.
It's doable. Personal experience
At an old company I worked at they rendered HTML in plsql with iframes everywhere, it was a real throwback to how they used to build stuff. I feel bad for the guy who had to maintain that hot mess.