董晓涛(David Dong)

博客园 首页 新随笔 联系 订阅 管理

2005年4月16日 #

摘要: the following is the SP demo: usingSystem; usingSystem.Data; usingSystem.Data.Sql; usingSystem.Data.SqlServer; usingSystem.Data.SqlTypes; publicpartialclassStoredProcedures { [SqlPr... 阅读全文
posted @ 2005-04-16 18:54 董晓涛 阅读(299) 评论(0) 推荐(0) 编辑

摘要: XQuery is a language for XML data.XQuery syntax includes and extends XPaths 2.0 expressions and makes it possible to perform complex queries against on XML data source. An XQuery path is based on the ... 阅读全文
posted @ 2005-04-16 13:30 董晓涛 阅读(627) 评论(2) 推荐(0) 编辑

摘要: there are typed XML and Untyped XML that SQL Server 2005 Support. to use Untyped XML,you must have formet XML.and you can implict and emplict varchar to XML. to use typed XML,you must register XML ... 阅读全文
posted @ 2005-04-16 08:43 董晓涛 阅读(1087) 评论(7) 推荐(0) 编辑

摘要: In SQL Server 2000, you can use a varchar, nvarchar, text, or ntext variable to generate a document handle using the sp_xml_preparedocument stored procedure. In SQL Server 2005, you can also use an x... 阅读全文
posted @ 2005-04-16 08:31 董晓涛 阅读(917) 评论(3) 推荐(0) 编辑

摘要: In SQL Server 2000, RAW mode FOR XML queries can return only attribute-centric XML. In SQL Server 2005, you can use the ELEMENTS directive with RAW mode queries to return element-centric XML. The foll... 阅读全文
posted @ 2005-04-16 08:16 董晓涛 阅读(392) 评论(2) 推荐(0) 编辑