我有我的SQL Server表包含文本列,比方说,一个列有如下文字:SQL Server中删除一切从第二次出现到结束
"this is a test that was made the year 2012 cause in the year 2013 we was down"
我需要的是检查是否一年以上发生;如果是,该文本应更新为:
"this is a test that was made the year 2012 cause in the "
所以我需要把一切都在第二occurence之前删除一切从最后一次出现到结束
任何帮助吗?
什么范围的几年将是有效的。 1973年有效吗? 2199是否有效? –