SQL 전체 텍스트 인덱스 CONTAINS 쿼 리 에 따 옴 표를 포함 합 니 다.


public static string FullTextSpecialSymbols(string strText)
    {
        strText = strText.Trim();
        strText = strText.Replace("\"","''");

        return strText;
    }

물론 중간 에 필요 한 필 터 를 계속 추가 할 수 있다.
참고:http://stackoverflow.com/questions/387198/escape-double-quotes-in-sql-2005-2008

좋은 웹페이지 즐겨찾기