Find Nth Occurrence of Character Function V3

In the tradition of best practice & code improvement, a third iteration of a script that finds the Nth occurrence of a Target string within another string (Original author unknown, V2 author vextant).This version returns zero if an Nth occurrence is not found (similar to V1), but also provides the ability to search the string […]

2007-06-29 (first published: )

403 reads

Blogs

Updating my Kubernetes Raspberry Pi Cluster to containerd

By

There’s been a lot of conversations happening on twitter over the last couple of...

Daily Coping 3 Dec 2020

By

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

SQL Homework – December 2020 – Participate in the Advent of Code.

By

Christmas. Depending on where you live it’s a big deal even if you aren’t...

Read the latest Blogs

Forums

Report based on dynamic columns

By ca4fil

Hi all, Can anyone help please? I am trying to do the below report,...

There are no SQL Server instances or shared features that can be updated -2017

By EasyBoy

Hi Please Assist. I am trying to install SQL SERVER CU 22 on SQL...

How can I exclude records from this table?

By NineIron

How do I exclude the "Appointments" that are not adjacent to a "Discharge"? This...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers