Escaping single quotes
Posted: Mon 16 Jul 2012 10:20
How single quotes are escaped in case of parameters?
Trying to run simple query as follows:
select id from account where name = @name
@name is set using Parameters.AddWithValue method to "Arek's company"
Thanks.
Trying to run simple query as follows:
select id from account where name = @name
@name is set using Parameters.AddWithValue method to "Arek's company"
Thanks.