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
 General SQL Server Forums
 New to SQL Server Programming
 Handling Apostrophy in sql insert statement

Author  Topic 

bibekdahal
Starting Member

1 Post

Posted - 2008-08-14 : 07:41:54
Hi all,
How to handling Insert Apostrophy in sql server.

I have many input fields in asp.net and any values on those field may contain apostrophy.

thank you,
Bibek

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-08-14 : 07:52:46
http://sqlblogcasts.com/blogs/madhivanan/archive/2008/02/19/understanding-single-quotes.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-08-14 : 08:15:08
Use parametrized stored procedures instead.



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -