September 28, 2011 at 7:00 am
Hi,
i have a scalar valued function 'split_string'.
i want to check it either it is working or not? how i will execute it?
like we can do in SP
exec spName;
September 28, 2011 at 7:05 am
well it depends on the function for the exact parameters allowed, but for exampleit would typically be something like this:
SELECT dbo.split_string('A String, To Split',',')
--where the second parameter(the comma) is what to split it on.
--if it was a table value function, it would be very similar:
SELECT MyAlias.* FROM dbo.split_string('A String, To Split',',') MyAlias
Lowell
September 28, 2011 at 7:13 am
Done:
Thank you..you save my time
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply