hoho Posted April 7, 2007 Report Share Posted April 7, 2007 cau! kaa var uztaisiit update uzreiz vairaakam tabulam, laukam ID, ja visas triis tabulas ir saistiitas peec si lauka? Link to comment Share on other sites More sharing options...
andrisp Posted April 7, 2007 Report Share Posted April 7, 2007 Hmm.. man šķiet, ka reizē gan nevarēs. Jātaisa atsevišķi kveriji. Link to comment Share on other sites More sharing options...
hoho Posted April 7, 2007 Author Report Share Posted April 7, 2007 bet kaa var atseviski, ja tas lauks, kuru vajag updatot, ir Foreign key un tad mysql kliedz, ka ir kljuda!!! :S Link to comment Share on other sites More sharing options...
v3rb0 Posted April 7, 2007 Report Share Posted April 7, 2007 foreign keyam pieliec ON UPDATE CASCADE , padomā vai pareizā secībā updeito un vispār palasi http://dev.mysql.com/doc/refman/5.0/en/inn...onstraints.html Link to comment Share on other sites More sharing options...
Recommended Posts