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
 Analysis Server and Reporting Services (2005)
 " conversion failed when converting..."

Author  Topic 

mind_invader
Starting Member

24 Posts

Posted - 2008-03-11 : 09:22:02

if run using an embedded query it is working perfectly... but if converted to stored procedure im having this error...

conversion failed when converting the varchar value '200712','200711','200710' to data type int

i got it working with a single value parameter... but when i tried a SELECT ALL, it gives me that error...


my parameter is BillingMonth with the ff details:
properties: multivalue
from query --> (value field: calendar_month_key) --> label field: (calendar_month)
default values : null


stored proc:
@billingmonth as varchar(20)




SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-03-11 : 09:23:52
Where is the query?

See, read and understand this blog post!
http://weblogs.sqlteam.com/brettk/archive/2005/05/25/5276.aspx



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -