I'm trying to insert
some text data into a table in SQL Server
9.
(我正在尝试insert
一些文本数据插入SQL Server
9中的表中。)
The text includes a single quote(').
(文本包含一个单引号(')。)
How do I escape that?
(我该如何逃避呢?)
I tried using two single quotes, but it threw me some errors.
(我尝试使用两个单引号,但是这给我带来了一些错误。)
eg.
(例如。) insert into my_table values('hi, my name''s tim.');
ask by tim_wonil translate from so 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…