Posted by R.A.M. on 07/17/06 20:49
Hello,
I am learning SQL Server 2005. I have (correctly) written in .NET
assembly DemoSQLServer with aggregate function AvgNoMinMax in class
Demo and I have added assembly to database DemoSQLServer. Now I need
to create aggregate in SQL Server. I tried this way:
CREATE AGGREGATE AvgNoMinMax(@v float) RETURNS float EXTERNAL NAME
[DemoSQLServer].[DemoSQLServer.Demo].[AvgNoMinMax]
Unfortunately I have error:
Incorrect syntax near '.'.
I don't know what's wrong. Please help.
Thank you very much!
/RAM/
[Back to original message]
|