i want to save a dynamically generated XML document in the oracle db using c#.net can anyone tell me the way to get this done
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You didn’t mention your Oracle version. (You should always provide the Oracle version and edition and the OS and OS version.)
This is not a simple question. There are multiple options.
You could create a table with an XMLTYPE column. Even with the XMLTYPE column, there are multiple options available. XML may be stored using CLOB storage, BINARY XML storage, or into an Object Relational model. Within the BINARY XML option, you could use BASICFILES or SECUREFILES, and have the option to enable compression.
The correct type of storage will depend on how you intend to use/search the data, but it a pretty complicated question that will require knowledge of your application system.
If you have no search/retrieval requirements beyond simple primary key lookups, then just use an XMLTYPE column with CLOB storage, and forget it. For anything beyond that, it’s a non-trivial question.
Hope that helps,
-Mark