SQL Server query syntax with single quote -


i have in database kia car model cee'd.

how write right syntax car model = cee'd

now using semipart of model

select make, model  cars  model '%cee%' 

but need full model name.

how write right syntax in case?

you can escape single quote (') single quote - 2 in total (''). note not double quote character ("), single character, two single quote characters (' , '):

select make,model cars model = 'cee''d' 

Comments

Popular posts from this blog

timeout - Handshake_timeout on RabbitMQ using python and pika from remote vm -

gcc - MinGW's ld cannot perform PE operations on non PE output file -

c# - Search and Add Comment with OpenXML for Word -