Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. SQL Server
  3. Question
SQL Server

Why SQL Server CONTAINS ignores single quote before asterix ?

Asked by Cameron Oliver Apr 23, 2021 113 views 1 answer
Share

About this question

Let's say I have table NamesTable, which has text index on Name columnDECLARE @String2 NVARCHAR(20) = '"SomeName''*"' SELECT * FROM NamesTable WHERE CONTAINS(Name, @String2) What does single quote in CONTAINS string mean? Does sql server CONTAINS string can be ignored?


Your answer

1 Answer

More SQL Server discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest SQL Server Blogs

Guides, tips and career advice on SQL Server from JanBask experts.