在数据库中使用xml字段时 [英] when use xml field in database

查看:83
本文介绍了在数据库中使用xml字段时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我最常使用sql server中的xml字段时,如何使用c#和sql管理它。

如何使用具有xml列的表之间的关系?

When I most use xml field in sql server and how can I manage it with c# and sql .
how can use relation between tables that have a xml columns ?

推荐答案

1)当我在sql中大多使用xml字段时服务器以及如何使用c#和sql管理它?

当你想存储xml数据时。

xml(T-SQL数据类型) [ ^ ]



2)如何使用表之间的关系有一个xml列?

与包含任何其他数据类型的任何其他表的方式相同。

如何:创建表之间的关系 [ ^ ]

使用关系 [ ^ ]

使用约束 [ ^ ]
1) When I most use xml field in sql server and how can I manage it with c# and sql?
When you want to store xml data.
xml (T-SQL data type)[^]

2)how can use relation between tables that have a xml columns ?
In the same way as any other tables that contain any other data types.
How to: Create Relationships Between Tables[^]
Working with Relationships[^]
Working with Constraints[^]


这篇关于在数据库中使用xml字段时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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