阿罗哈
我需要过滤结果。我做了“不喜欢”的约束。但我想更有效率。
这是我尝试过的:以“不喜欢”的风格
`
AND S.COLUMN_NAME NOT LIKE ('%_S')
AND S.COLUMN_NAME NOT LIKE ('%_T')
AND S.COLUMN_NAME NOT LIKE ('%_X')
AND S.COLUMN_NAME NOT LIKE ('%_Y')
AND S.COLUMN_NAME NOT LIKE ('%_L')
AND S.COLUMN_NAME NOT LIKE ('%_SG')
AND S.COLUMN_NAME NOT LIKE ('%_ST')
AND S.COLUMN_NAME NOT LIKE ('%_X1')
AND S.COLUMN_NAME NOT LIKE ('%_Y1')
AND S.COLUMN_NAME NOT LIKE ('%_X2')
AND S.COLUMN_NAME NOT LIKE ('%_Y2')
AND S.COLUMN_NAME NOT LIKE ('%_O')`
并在正则表达式中:
REGEXP_LIKE (COLUMN_NAME, '[^\_O|Y]*')
regexp_like 子句没有按我的预期工作。但是我不知道怎么写。我想要除以 _O、_Y、_X、...结尾的所有结果