Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

Troubleshooting
Research
Professional Opinions
Ask a Question
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

troubleshooting Question

How can I prevent a certain text string from being entered in a SQL Server database?

Avatar of keimpe
keimpe asked on
Microsoft SQL ServerMicrosoft SQL Server 2005Microsoft SQL Server 2008
13 Comments1 Solution1065 ViewsLast Modified:
I have a large SQL Server database with lots of tables containing different kinds of fields.

Is there a global (and if not, an efficient) way to prevent the word "sauerkraut" from being entered anywhere in the database?

Whether "Sauerkraut" is the only word entered, or part of a sentence like "I love sauerkraut very much"? (and if it's part of the sentence, I don't want the record to be updated with any part of that sentence)

(Sauerkraut being an innocent example of what I'm really trying to prevent)

Thank you!
ASKER CERTIFIED SOLUTION
Avatar of Jason Yousef
Jason YousefFlag of United States of America imageSr. BI Developer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Commented:
This problem has been solved!
Unlock 1 Answer and 13 Comments.
See Answers