Define query parameters visual studio

↘锁芯ラ 提交于 2019-12-13 06:08:13

问题


I am creating a SSRS report in VS 2008 sp1.

I am trying to run the SP of a certain dataset So I am loading the query designer

Than i am get the normal define query parameters dialog box

I have two columns one for the parameter Name and one for the parameter value

one of the Parameter values of the is nvarchar, so a valid input is e.g. 36,37,38

The query runs but doesn't give any result and when i load the define query parameters dialog box again the parameter value appears as: 363738

The commas were removed from some unclear reason

how do i make the commas to stay?

BTW the the same input works just fine in ssms with the same input.

Here are the headers of the SP

 ALTER PROCEDURE [dbo].[usp_CVM_FollowNewGroups] 
   @GroupID int
 , @periods nvarchar(max)
 , @numOfPeriodsAhead int
 , @FieldToShow nvarchar(max)
 AS
 BEGIN

来源:https://stackoverflow.com/questions/7221886/define-query-parameters-visual-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!