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 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy