如何在Oracle中使用XML字符串参数创建存储过程以插入数据..? [英] How to create Store procedure in Oracle with XML string parameter to insert data..?

查看:138
本文介绍了如何在Oracle中使用XML字符串参数创建存储过程以插入数据..?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含数据的xml字符串..

现在,我想创建一个存储过程,该存储过程将接受参数中的xml字符串,并使用该xml字符串在我的数据库中插入数据.

我已经将oracle 11g用作数据库.

I have one xml string containing data..

now i want to create one stored procedure that will accept xml string in parameter and used that xml string to insert data in my database.

i have using oracle 11g as database.

how to create that store procedure and how to query that xml for getting table value to insert..?

推荐答案

查看此内容

http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb04cre.htm [ ^ ]
Check this out

http://docs.oracle.com/cd/B28359_01/appdev.111/b28369/xdb04cre.htm[^]


这篇关于如何在Oracle中使用XML字符串参数创建存储过程以插入数据..?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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