Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-04-01 : 09:19:44
|
| John Niemiec writes "Hi, another question for you.Our database has varchar fields setup and the fieldscontain values of a single quotation mark. How do I find and replace these when coding this? I tried thisSelect * from Tablenamewhere Last_Name LIKE '%'%'BUT THIS GIVE ME AN ERROR, like I have an entra quote in there instead of just looking for the quote that is contained in the data? What am I to do, I have to get rid of these quotes...jn" |
|
|
Nazim
A custom title
1408 Posts |
Posted - 2002-04-01 : 09:25:57
|
| A little search could have saved you.i believe Graz has written a article on this.newayz you can check for replace(columnmame,'''','a')HTH-------------------------------------------------------------- |
 |
|
|
|
|
|