如何删除记录中打开角括号后的所有字符 [英] How to delete all characters after an opening angular bracket in a record

查看:65
本文介绍了如何删除记录中打开角括号后的所有字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我在SQL Server中有一个表,其中包含7个coulmns。由于某些错误,在名称后的某些记录中添加了一些垃圾数据在NAMES coulmn。这个错误的数据总是以一个开放的角括号(<)开始。为了解决这个问题,我想创建一个sql查询,它删除所有记录中一个开放角括号之后的所有字符。



提前谢谢。

Hi,

I have a table in SQL Server with 7 coulmns in it .Due to some error, some junk data is added in some records after the name in NAMES coulmn. This erroneous data always starts with an opening angular bracket (<).To solve this i want to create a sql query which delete all the characters which comes after an opening angular bracket in all the records.

Thanks in advance.

推荐答案

看起来你根本不明白发生了什么。

再看一遍在那个内容:是什么HTML?是否有人尝试通过提交此类内容将iframe注入您的网页?

了解有关保护您的网站免受攻击的详情。
Looks like you did not at all understand what happened.
Look again at that content: is taht HTML? Did someone try to inject an iframe with some scripts into your web pages by submitting such content?
Learn more about protecting your site against attacks.


这篇关于如何删除记录中打开角括号后的所有字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆