Q

Changing the tablespace for an XML schema

When I register an XML-Schema with dbms_XMLSchema.registerSchema, are the tables created into the default tablespace? Is it possible to change the tablespace for the tables?

When I register an XML-Schema with dbms_XMLSchema.registerSchema, are the tables created into the default tablespace? Is it possible to change the tablespace for the tables?
Yes you can. You use schema annotations to do this. The specific annotation you want to use is:

tableProps - Any valid table storage clause. Specifies the TABLE storage clause that is appended to the default CREATE TABLE statement. This is meaningful mainly for global and out-of-line elements.

For more information, search the XML DB Developer's Guide for DBMS_XMLSchema and then look for annotation.

This was first published in July 2005
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchDataManagement

SearchBusinessAnalytics

SearchSAP

SearchSQLServer

TheServerSide

SearchDataCenter

SearchContentManagement

SearchFinancialApplications

Close