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

257 reads

Blogs

The Diverse Data Platform–Dativerse.io

By

The other day I got a note from Ben Weissman the other day that...

Extended Events and Azure SQL Database

By

Knowledge of how your system behaves is vital to better control, maintain, and grow...

Daily Coping 19 Apr 2021

By

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

Read the latest Blogs

Forums

Buy oxycontin 80m,xanax,Oxycodone,Ritalin,Diazepam etc WhatsApp:+1(312) 379-9621

By nicko22

We are most reliable and efficient suppliers/distributor of all kinds of commonly used pain...

upgrade path to SQL 2019

By sqlfriend

I read the upgrade path for standard edition to SQL server 2019, the oldest...

Profiler Trace

By sizal0234

Hi, I am aware of capturing the trace for a single user database by...

Visit the forum

Ask SSC

SQL Server Q&A from the SQLServerCentral community

Get answers