多查找列值SQL表 [英] Multi Lookup Column Value SQL Table

查看:61
本文介绍了多查找列值SQL表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

使用"查找"列在SharePoint列表输入表单中选择了原始多值。

There are the original multi value selected in SharePoint list input form using the Lookup column.

名称 - 资源1,资源2,资源3

Names - Resource 1,Resource 2,Resource 3

在SQL Server 2012表中,它以下面的格式存储。什么是动态获得高于输出的最佳方式。

4;资源1;#15; #Resource 2;#173; #Resource 3

In SQL Server 2012 table it is storing in below format. What is the best way to get above output dynamically.
4;Resource 1;#15;#Resource 2;#173;#Resource 3

非常感谢你的帮助。

干杯,Badal Ratra MCTS

Cheers, Badal Ratra MCTS

推荐答案

最好的方法是重新设计该表,以便您为每个单元格存储一个数据。如果你想保留这种格式,没有最好的方法,因为关系数据库引擎不是为支持这样的事情而设计的。
The best way is to redesign the table, so that you store one data per cell. If you want to keep that format, there is no best way, because a relational database engine is not designed to support things like this.


这篇关于多查找列值SQL表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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