Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 4729

Is there a way to insert a string even if the value has a single quote in it?

$
0
0

Hi,

I have a varchar string like

Name: D'souza

I am getting an error when i am inserting  like this.

insert into table (D'souza)

Is there any way to allow inserting the exact value even if it has single quotes attached to it like set define off in oracle ?

Regards

Gautam S


Gautam S


Viewing all articles
Browse latest Browse all 4729

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>