vipinkrshamra
Programmer
Hi!!,
I have SP as follows
************SP****************
CREATE proc dbo.Test
(
@Emp as varchar(8000)
)
as
Select EmpId,Emp from tblEmp
Where
Emp in ( Select * from SplitString(@Emp,':::'))
************SP****************
I can execute above SP as follows from Query Analyzer
Test 'Jeny:::Lucy:::John'
But I am not able to pass parameter to SP from Crystal. If I pass value as
'Jeny:::Lucy:::John' or
Jeny:::Lucy:::John or
"Jeny:::Lucy:::John"
I am getting following error
***********Error********
'List of Values failure: fail to get values.[Cause of error: The length of the paramter field current values must be less than ot equal to the maximum values.]'
error sourcerompt.dll Error code: 0x8004380D
***********Error********
AM I missing something. Any idea is greatly apprecaited.
I have SP as follows
************SP****************
CREATE proc dbo.Test
(
@Emp as varchar(8000)
)
as
Select EmpId,Emp from tblEmp
Where
Emp in ( Select * from SplitString(@Emp,':::'))
************SP****************
I can execute above SP as follows from Query Analyzer
Test 'Jeny:::Lucy:::John'
But I am not able to pass parameter to SP from Crystal. If I pass value as
'Jeny:::Lucy:::John' or
Jeny:::Lucy:::John or
"Jeny:::Lucy:::John"
I am getting following error
***********Error********
'List of Values failure: fail to get values.[Cause of error: The length of the paramter field current values must be less than ot equal to the maximum values.]'
error sourcerompt.dll Error code: 0x8004380D
***********Error********
AM I missing something. Any idea is greatly apprecaited.