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 - 2003-03-07 : 07:30:03
|
| Roomana writes "I am trying to insert the value of a text area field with ASP . The problem is if the user types in a word that contains an apostrophe (') I get an improper character assignment error in my SQL statement." |
|
|
samsekar
Constraint Violating Yak Guru
437 Posts |
Posted - 2003-03-07 : 07:41:29
|
| Try this to insert (') in a text columnInsert table (t) values ('Sekar''s home')It will be easier to answer if you post your query.___________________________________________________________________________Success is not a destination that you ever reach. Success is the quality of your journey. |
 |
|
|
Robwhittaker
Yak Posting Veteran
85 Posts |
Posted - 2003-03-07 : 08:28:17
|
| ' are self exiting so if you change all ' to '' you should be fine |
 |
|
|
|
|
|