Find and REMOVE string from stored procedures

This script extends the "Find strings in text of stored procedures" Script by LiviuB and and now finds thestring and removes it. You may modify script to just comment out the text.This script removes the text (in this case 'set dateformat dmy') from all non-system stored procedures in a database.Modify the variable @searchstring to contain […]

2004-11-26 (first published: )

251 reads

Blogs

Why oh Why? Effects of Antivirus on a DB Server

By

At best these phantom backups cause undue headache in troubleshooting. At worst, they make...

Your First Jupyter Notebook

By

In April, I said I was going to start learning Jupyter Notebooks. It’s November....

Using Visual Studio Code

By

I’m a creature of habit. I have my routine when I get to my...

Read the latest Blogs

Forums

Numeric and Decimal

By Steve Jones - SSC Editor

Comments posted to this topic are about the item Numeric and Decimal, which is...

power shell script for add datetime to file

By adisql

Hi, i would like to generate csv file with datetime  through sql job with...

NOT Operator and NULLs

By kuopaz

--test data declare @T table(a int null, b int null) insert @T(a, b) select...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers

Question of the Day

Missing Data

See possible answers