April 27, 2012 at 4:38 am
Hi All,
Got below error:
'average' is not a recognized built-in function name.
while executing the below query
select avg(salary) from #employee
Please advice me.
Thanks in Advance.
Regards,
Faroz
April 27, 2012 at 4:52 am
i just ran the following
select AVG(convert(float,id)) from sysobjects
seems to work fine for me
are you sure didn't type in
select AVERAGE(salary) from #table - that would explain the error
MVDBA
April 27, 2012 at 5:21 am
April 27, 2012 at 5:34 am
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply