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
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 error

Author  Topic 

chiraggoel
Starting Member

2 Posts

Posted - 2009-11-27 : 00:48:03
hi all,
i m having problem via using this
'$ '+ convert(varchar(8), convert(decimal(9,2),round(dbo.tblNN_Forecasts.dblProfitPer100,2), 1)

error Msg 117, Level 15, State 2, Procedure vwResults, Line 7
The type name 'dbo.tblNN_Forecasts.dblProfitPer100' contains more than the maximum number of prefixes. The maximum is 1.

any body have solution for that

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-11-27 : 01:10:46
You are not calling your function properly. You need to specify OwnerName.ObjectName. You are specifying three parts, but only two are allowed (one prefix and one object name).

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -