Click here to Skip to main content
15,900,686 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: SQL != SQL... Pin
William Clardy9-Oct-15 1:13
William Clardy9-Oct-15 1:13 
GeneralRe: SQL != SQL... Pin
CDP18027-Oct-15 23:25
CDP18027-Oct-15 23:25 
GeneralRe: SQL != SQL... Pin
Sander Rossel8-Oct-15 1:00
professionalSander Rossel8-Oct-15 1:00 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 1:10
CDP18028-Oct-15 1:10 
GeneralRe: SQL != SQL... Pin
Sander Rossel8-Oct-15 1:20
professionalSander Rossel8-Oct-15 1:20 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 1:40
CDP18028-Oct-15 1:40 
GeneralRe: SQL != SQL... Pin
Jörgen Andersson8-Oct-15 2:19
professionalJörgen Andersson8-Oct-15 2:19 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 4:45
CDP18028-Oct-15 4:45 
Yes, and most things where CRUD does not work are the direct road to hell. I have seen many failed 'dynamic' SQL thingies and every time the 'creators' finally noticed that they could not swim when they were in the middle of the ocean.

I'm patching up another interesting creation right now. Each table in the database has more triggers than an average piece of sh.t . Not just 'normal' triggers, if there is such a thing. Those triggers contain real application logic and also try to do everything at once, triggering even more triggers. The whole avalanche is stopped by setting special columns in the data rows.

Now, I need to change a value in a primary key of one row, which usually means deleting and then inserting the row with its new key. If I do that, the wrong triggers will start triggering and everything goes to hell (GOTO is very bad).

Our geniuses did an update on the data row with the new key and then the (hopefully) right triggers will take over. The problem is that I really use an ORM and updating on a new primary key value will not cause an error, but also update nothing.

There hopefully is a special place in hell reserved for those people.
The language is JavaScript. that of Mordor, which I will not utter here

This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a f***ing golf cart.

"I don't know, extraterrestrial?"
"You mean like from space?"
"No, from Canada."

If software development were a circus, we would all be the clowns.

GeneralRe: SQL != SQL... Pin
PIEBALDconsult8-Oct-15 5:00
mvePIEBALDconsult8-Oct-15 5:00 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 5:14
CDP18028-Oct-15 5:14 
GeneralRe: SQL != SQL... Pin
Jörgen Andersson8-Oct-15 6:14
professionalJörgen Andersson8-Oct-15 6:14 
GeneralRe: SQL != SQL... Pin
Jörgen Andersson8-Oct-15 6:11
professionalJörgen Andersson8-Oct-15 6:11 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 7:20
CDP18028-Oct-15 7:20 
GeneralRe: SQL != SQL... Pin
Jörgen Andersson8-Oct-15 7:27
professionalJörgen Andersson8-Oct-15 7:27 
GeneralRe: SQL != SQL... Pin
CDP18028-Oct-15 7:44
CDP18028-Oct-15 7:44 
GeneralRe: SQL != SQL... Pin
PIEBALDconsult8-Oct-15 5:02
mvePIEBALDconsult8-Oct-15 5:02 
GeneralRe: SQL != SQL... Pin
William Clardy9-Oct-15 1:27
William Clardy9-Oct-15 1:27 
GeneralRe: SQL != SQL... Pin
CDP18029-Oct-15 2:35
CDP18029-Oct-15 2:35 
GeneralRe: SQL != SQL... Pin
William Clardy9-Oct-15 2:59
William Clardy9-Oct-15 2:59 
GeneralRe: SQL != SQL... Pin
Corporal Agarn8-Oct-15 1:18
professionalCorporal Agarn8-Oct-15 1:18 
GeneralRe: SQL != SQL... Pin
Sander Rossel8-Oct-15 5:36
professionalSander Rossel8-Oct-15 5:36 
GeneralRe: SQL != SQL... Pin
William Clardy9-Oct-15 1:48
William Clardy9-Oct-15 1:48 
GeneralRe: SQL != SQL... PinPopular
Marc Clifton8-Oct-15 2:37
mvaMarc Clifton8-Oct-15 2:37 
GeneralRe: SQL != SQL... Pin
Jörgen Andersson8-Oct-15 3:16
professionalJörgen Andersson8-Oct-15 3:16 
GeneralRe: SQL != SQL... Pin
Sander Rossel8-Oct-15 5:33
professionalSander Rossel8-Oct-15 5:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Straw Poll

Were you affected by the geomagnetic storms this past weekend?
Communication disruptions, electrified pipes, random unexplained blue-screens in Windows - the list of effects is terrifying.
  Results   494 votes