Originally Posted by randomize
Spanair says that the PILOTS changed the flight plan at the last moment because they didn't knew that Santiago SCQ is different from sevilla SVQ
I don't think the cited article supports your conclusion.
To the contrary, it appears that the airport coding error was made by flight dispatch, not the pilots, who simply followed the erroneous flight plan.
More at
PPRUNE.