2012-10-25 83 views

回答

39
SELECT foo FROM test WHERE foo LIKE '%' + CHAR(10) + '%' 

編輯:找到所有不同類型的行結尾的你應該只檢查兩個:

SELECT foo FROM test WHERE foo LIKE '%' + CHAR(10) + '%' 
         OR foo LIKE '%' + CHAR(13) + '%' 
6

嘗試

SELECT foo FROM test WHERE foo LIKE '%'+ CHAR(10)+'%' 
9
SELECT foo FROM Table WHERE foo LIKE '%' + CHAR(13)+CHAR(10) + '%'