Correction to parsestring

The original function fails when a mistaken split char is being snet to the function.This can easly be corrected by adding an if to check the value of the @holdpos inside the loop before sending it to the substring functionif the value is 0 then break the loop

2005-02-23 (first published: )

107 reads

Blogs

Daily Coping 24 Sept 2021

By

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

Using environment variable files for SQL Server in containers

By

There are a whole bunch of environment variables that can be used to configure...

How to Design Backups in SQL Server?

By

The Recovery Point Objective (RPO) and Recovery Time Objective (RTO) are basic concepts related...

Read the latest Blogs

Forums

Automatic INSERT-INTO

By LD3060

I have a view in my database where data is stored, it has 2...

Making Software Decisions

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Making Software Decisions

Working with the Delete Activity in Azure Data Factory

By arindamxs

Comments posted to this topic are about the item Working with the Delete Activity...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers