I will pass the value to function like 'abc,defd,ghjk' and function will return the value like 'abc','defd','g hjk' so that i can use 'IN' Operate to get the values from database.
Here is the function which return the values
Code:
ALTER FUNCTION [dbo].[fnParseSplitString]
(
@InputString varchar(255)
)
RETURNS varchar(255)
AS
BEGIN
DECLARE @ParsedInputString varchar(255)
function is not working 'in operator' method in stored procedure
I am trying to execute below sp but i am unable to get the result.
reasion is i am using function which is return string values like ('ab','df','dff f').when i use this function in operator it is not returning any value ..anybody help me why it is not returning ?.
Code:
function name ([dbo].fnParseSplitString(@stQueueName)))
ALTER PROCEDURE [Strategies_uspGetNoCreditBureauReview]
-- Add the parameters
Leave a comment: