Please start any new threads on our new
site at http://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Our new SQL Server Forums are live!
Come on over! We've restricted the ability to create new threads on these forums.
Constraint Violating Yak Guru
Flowing Fount of Yak Knowledge
Premature Yak Congratulator
quote:Originally posted by cutiebo2tselect* sum(data)/count(data) as resultsFrom Data
quote:Originally posted by cutiebo2tthanks but can it be in percentage form. Example 34.56%.
quote:Originally posted by cutiebo2tmay i know how? thanks
Aged Yak Warrior
Very Important crosS Applying yaK Herder
quote:Originally posted by rakyquote:Originally posted by cutiebo2tthanks but can it be in percentage form. Example 34.56%.select cast(cast(sum(data)/count(data)*1.0 as decimal(12,2))as varchar(50))+'%' as resultsFrom Data