Technical Article

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: )

408 reads

Blogs

Registered for the Data Community Summit

By

I was reminded this week that I needed to get registered for the Data...

Daily Coping 5 Oct 2022

By

Today’s coping tip is to choose to see your mistakes as steps to help...

Restore HEADERONLY and FILELISTONLY

By

Good day reader.  This post is coming to you from a busy week in...

Read the latest Blogs

Forums

Change tracking - Date a row changed

By cbarus

We have change tracking enabled on one of our databases and I am looking...

Grant user permissions to a view but the base tables live in another database

By Maxer

I have two databases on the same server.  I have a service account I...

The ORDER BY clause is invalid in views

By micky007

Hi, I'm trying to run the below SQL code but I'm getting this error:...

Visit the forum

Ask SSC Logo Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers