Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 any help on this?

Author  Topic 

mkhenneman23
Starting Member

1 Post

Posted - 2009-08-26 : 16:31:06
update [@jlg_salesrpt_goals] set month_percent =
CAST(Cast(current_days as float) * 100/cast(month_days as float) as decimal(5,2))
where goal_month = month(getdate())
and goal_yr = year(getdate())


trying to calculate the % for the month

edit: moved to proper forum
   

- Advertisement -