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:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 35 points 1 year ago* (last edited 1 year ago) (2 children)

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.

[–] [email protected] 6 points 1 year ago

It's doable. Personal experience

[–] eluvatar 1 points 1 year ago

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.