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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Double Quotes from a form

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-02-12 : 07:51:52
Daniel writes "I am using the replace function to handle single quotes in strings from a web form. When I try to do the same thing to handle a double quote in a string I have not been successful. How can I allow users to use a double quote and still be able to insert the data into my table?"

mohdowais
Sheikh of Yak Knowledge

1456 Posts

Posted - 2004-02-12 : 07:55:55
1. Use Stored Procedures so you dont have to replace single quotes
2. Use Stored Procedures so you dont have to replace double quotes
3. You dont have to replace double quotes in SQL Server

OS
Go to Top of Page
   

- Advertisement -