Advertisement

06.13.2008 at 09:59AM PDT, ID: 23483382
[x]
Attachment Details

MS SQL - UPDATE STATEMENT - LOOK FOR ' AND REPLACE

Asked by MarkMaloney in SQL Server 2008

Tags: ms sql

Been fighting with sql and continually get errors when running this statement.

UPDATE [FSSINC].[dbo].[Customer]
   SET [CustomerName] = CustomerName
 WHERE <,,> i add the criteria. What im trying to do is search for say instances where
firstname , lastname remove the , so i end up with just firstname lastname.
Start Free Trial
[+][-]06.13.2008 at 11:13AM PDT, ID: 21781399

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: SQL Server 2008
Tags: ms sql
Sign Up Now!
Solution Provided By: rickchild
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.13.2008 at 11:15AM PDT, ID: 21781417

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]06.13.2008 at 11:23AM PDT, ID: 21781475

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628