KDB 如何更新列值
我有一个表,其中包含如下所示的符号类型列。
名称 | 值 |
---|---|
第一个 | TP_RTD_FRV |
第二个 | RF_QWE_FRV |
第三个 | KF_FRV_POL |
我需要按如下方式更新它,只要有 FRV,我就需要将其替换为 AB_FRV。如何实现这一目标?
名称 | 值 |
---|---|
第一个 | TP_RTD_AB_FRV |
第二个 | RF_QWE_AB_FRV |
第三个 | KF_AB_FRV_POL |
I have a table which has column of symbol type like below.
Name | Value |
---|---|
First | TP_RTD_FRV |
Second | RF_QWE_FRV |
Third | KF_FRV_POL |
I need to update it as below, wherever I have FRV, I need to replace it with AB_FRV. How to achieve this?
Name | Value |
---|---|
First | TP_RTD_AB_FRV |
Second | RF_QWE_AB_FRV |
Third | KF_AB_FRV_POL |
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
或不使用 qSQL
根据数据的唯一性,您可能会受益于 .Q.fu
or without using qSQL
Depending on the uniqueness of the data, you might benefit from .Q.fu