Robert Cary

Searching Syscomments Accurately

As a SQL Server DBA you should know that your code is stored in syscomments by default. While most DBAs use version control systems, there are times you might want to look through the code on the server for comparison purposes. Robert Cary brings us an article on how you can do this in 2000 and 2005.

4.8 (5)

2008-01-07 (first published: )

7,937 reads

Find Nth Occurrence of Character Function (Set Based)

This function was originally contributed by other visitors. Below is an example of a set based approach to the problem. This script requires a numbers table (see SqlServerCentral article http://www.sqlservercentral.com/columnists/mcoles/2547.asp for more details)Please note that this code is uses SQL2005 featuresEnjoy!Robert Caryhttp://tsqlland.blogspot.com

5 (1)

2006-10-20 (first published: )

536 reads

Blogs

Weekly reading #26

By

Good morning! It was a tough weekend as we supposed to be in Goteborg...

Delete an Azure DevOps Project

By

Not something you’ll do too often, but you might find yourself doing this if...

Ways to access data in ADLS Gen2

By

With data lakes becoming popular, and Azure Data Lake Store (ADLS) Gen2 being used...

Read the latest Blogs

Forums

Is Data the Future of the Vibrant Web?

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Is Data the Future of...

“Included columns” for non-clustered indexes explained

By Michael Salzmann

Comments posted to this topic are about the item “Included columns” for non-clustered indexes...

Reindexing a database

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Reindexing a database

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers