RKSport Posted May 1, 2008 Report Share Posted May 1, 2008 Sveiki. Tatad problema nekadigi nevaru izdomat ka uzraxtit to lai pec attiecigas darbibas datubazee "Users" users tiktu updeitotas teibla "Capital" Rindinjas. Piemeram teibla ir userid un ls. userid Janis ls 159.78, vaig updeitot tikai summu, un janja vardu actat tadu pashu ! Pec attiecigas darbibas vaidzetu pieskaitit 20 ls. Butu pateicigs par palidzibu. Link to comment Share on other sites More sharing options...
bubu Posted May 1, 2008 Report Share Posted May 1, 2008 Kāpēc neatšķir kādu SQL pamatu grāmatu/manuāli un nepalasi? UPDATE tabule SET lauks = lauks + 20 WHERE id = ... Link to comment Share on other sites More sharing options...
Ghenis Posted May 1, 2008 Report Share Posted May 1, 2008 Iisti nesapratu, bet - Trigeri ? Link to comment Share on other sites More sharing options...
RKSport Posted May 1, 2008 Author Report Share Posted May 1, 2008 (edited) man to vaig prieks php faila nevis pa taisno MSSQL, un ja man tadas gramatas butu tad sen butu izlasijis. SOLVED Edited May 1, 2008 by RKSport Link to comment Share on other sites More sharing options...
Recommended Posts