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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -