Viewing 13 posts - 1 through 13 (of 13 total)
Thanks I will read this article and change the function that I am using.
February 13, 2015 at 9:23 am
Jeff Moden (2/11/2015)
nwtsqlserv (2/11/2015)
I already have a spitter function mate...please have a read through my question again...thanks.Could you post the code for your splitter, please?
CREATE FUNCTION [dbo].[StringSplitter]
(
@String varchar(5000),
@Delimiter char(1)
)
RETURNS @RESULTS...
February 12, 2015 at 1:52 am
I just wrote a new stored proc. The old stored proc had a LookUpId table to increment Id ..so it was updating the id by one and fetching that id...
February 11, 2015 at 9:02 am
Hi I have one more question. I am using table valued parameter to pass the whole list to the stored proc. But now I want to insert this table valued...
February 11, 2015 at 4:57 am
yeah thats sound good. I will use table valued parameter.
using cursor is it an old approach??
something like this
CREATE TABLE #result
(
Subject varchar(100)
)
Create Table #result2
(
Subject varchar(100)
)
insert...
February 11, 2015 at 3:33 am
That is what my function does ..insert the comma separated string into a table ...for eg in ur case its MyTable..
Now I want to insert each row of this Mytable...
February 11, 2015 at 3:24 am
Why is it wrong can you explain?
I think there is nothing wrong in sending a comma seperated list.
My question is to insert each row of the table into another table....
February 11, 2015 at 3:08 am
I already have a spitter function mate...please have a read through my question again...thanks.
February 11, 2015 at 2:48 am
thanks..
is there a better way of doing it ..instead of using a subquery???
December 18, 2014 at 3:09 am
nice! looks neat
Yeah you are this right I have to put this in production where there are more than 50 rows. Would it be nice to have a temp table...
November 25, 2014 at 7:35 am
Thanks for the reply...it work and I understand it..
You say there can be other ways..can u hint like what ways?
November 25, 2014 at 6:14 am
Viewing 13 posts - 1 through 13 (of 13 total)