2
如何从表中删除行,其中列包含子字符串,但该列的类型为“长”。 (是的,我知道我不应该使用龙,但我保持别人的混乱)。用LIKE删除匹配子字符串的行?
我第一次尝试是:
delete from longtable
where search_long(rowid) like '%hello%';
(从this answer继。)
这将返回:
SQL Error: ORA-04091: table blah.longtable is mutating, trigger/function may not see it