SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


EmbeddedSplit8K


EmbeddedSplit8K

Author
Message
Carlo Romagnano
Carlo Romagnano
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19520 Visits: 3745
Comments posted to this topic are about the item EmbeddedSplit8K
Sean Pearce
Sean Pearce
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14504 Visits: 3548
Yet another split function.....
While I do appreciate the effort, there are millions of these with extensive research on performance comparisons between the various options. This horse has been flogged to death.



The SQL Guy @ blogspot

@SeanPearceSQL

About Me
Carlo Romagnano
Carlo Romagnano
SSCoach
SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)SSCoach (19K reputation)

Group: General Forum Members
Points: 19520 Visits: 3745
Sean Pearce - Thursday, December 6, 2018 6:31 AM
Yet another split function.....
While I do appreciate the effort, there are millions of these with extensive research on performance comparisons between the various options. This horse has been flogged to death.
EmbeddedSplit8K returns only chars delimited by two delimiter e.g. from the string 'Phone (123-45676) - Florida','(',')' returns only 123-45676

Sean Pearce
Sean Pearce
SSChampion
SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)SSChampion (14K reputation)

Group: General Forum Members
Points: 14504 Visits: 3548
Carlo Romagnano - Thursday, December 6, 2018 6:53 AM
Sean Pearce - Thursday, December 6, 2018 6:31 AM
Yet another split function.....
While I do appreciate the effort, there are millions of these with extensive research on performance comparisons between the various options. This horse has been flogged to death.
EmbeddedSplit8K returns only chars delimited by two delimiter e.g. from the string 'Phone (123-45676) - Florida','(',')' returns only 123-45676

Guess I didn't read it thoroughly enough. That's an interesting requirement though, surely that belongs in the presentation layer, although I suppose it may function in an ETL process. Why don't you write a little on how you are using this, it does sound interesting.




The SQL Guy @ blogspot

@SeanPearceSQL

About Me
zabavinv
zabavinv
Forum Newbie
Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)Forum Newbie (4 reputation)

Group: General Forum Members
Points: 4 Visits: 59
SELECT * FROM [dbo].[EmbeddedSplit8K]('ddd dd(d (12345) ee abcde)( ee )','(',')') --returns 12345 Smile
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum









































































































































































SQLServerCentral


Search