Delimited String Parsing and Evaluation Functions

Here's a quick and dirty function for parsing strings based on a delimiter (As in a varchar field with comma delimited text). I'm hoping for feedback on a more efficient means of doing this.Also,4 functions for comparing two delimited lists of strings. Many may ask why these are needed, but that's a very long explanation […]

2005-09-21 (first published: )

250 reads

Utility proc for updating (sub) sequence columns

This is a utility proc that I use a lot for datawarehouse transformation/load processing. This is a generic proc for resequencing an integer column in sorted order within a given key combination.Note that 'key' is used here in a general context and not specific, that is there doesn't have to be any keys or indexes […]

2004-10-12

76 reads

tighter approach to counting strings in strings

Saw Mike's routine for counting occurences of a string in a string and I thought I'd offer a simpler solution.Simply replace the occurence with null and use length differences as shown.NOTE: len may ignore trailing spaces, so this can be made more solid by adding some non printable char (less likely to interfere with operation) […]

2004-03-10

63 reads

Blogs

Daily Coping 5 Aug 2021

By

I started to add a daily coping tip to the SQLServerCentral newsletter and to...

Interview Tip: Know your resume

By

Seriously. Make a point of reading your resume before submitting it, and again before...

SQL Server on Kubernetes Book Published!

By

I’m super proud to announce that Ben E. Weissman and I have published SQL...

Read the latest Blogs

Forums

BUY UNDETECTABLE COUNTERFEIT MONEY(counterfeitmoney414@gmail.com)

By casey4141

MONEY TEAM BANKNOTES IS THE BEST SELLER OF COUNTERFEIT BANKNOTES . We are the...

cheap hennessy

By bion

Are you looking for quality Wine, Champagn,Hennessy or Heineken for your birth day party,wedding,events...

is Forced Parameterization usually more beneficial than less?

By VoldemarG

On a hybrid server, with ~70% OLTP vs 30% (somewhat heavy) DW workloads, with...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers