This is working:
UPDATE F_omzet
SET kostenplaatscategoriekey = '1'
WHERE inkoopomzet >= 0.2 * (SELECT SUM(inkoopomzet) FROM F_omzet)
Thanx for the answer but i have this now and i want more. Maybe you can help me with that to.
I want something like this :
UPDATE F_omzet
SET...
HELP!!! I want to Update a column in SQLServer
I want to make a update, but i tried a lot. But it isnt working.
Has to be something like this :
Update F_omzet
Set kostenplaatscategoriekey = '1'
HAVING (inkoopomzet * 100 / SUM(inkoopomzet) >= 20 )
The table name = F_omzet.
Every row = <NULL>...
I want to make a update, but i tried a lot. But it isnt working.
Has to be something like this :
Update F_omzet
Set kostenplaatscategoriekey = '1'
HAVING (inkoopomzet * 100 / SUM(inkoopomzet) >= 20 )
The table name = F_omzet.
Every row = <NULL> inside of kostenplaatscategoriekey.
The formula...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.