I want to put a age query in an MSSQL database
I know the birthday but can not find a way to enter today's date for a DATEDIFF statement.
Can anyone help?
Can anyone help?
I want to create a trigger to replace the following update:
UPDATE SERVICES.dbo.SICKNESS
SET HOURS = ((CONTRACTUALHOURS/5)*DAYS),
COST = (((CONTRACTUALHOURS/5)*DAYS) * HOURLYRATE),
TOTALCOST = (((((CONTRACTUALHOURS/5)*DAYS) * HOURLYRATE)+ ONCOST)+ ADDITIONALCOST)
FROM...
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.