Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / Oracle / Oracle Server / January 2008

Tip: Looking for answers? Try searching our database.

Erwin: setting a property for all tables

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DrOlap - 30 Jan 2008 14:15 GMT
I'm trying to figure out how to set the tablespace for data and
indexes on all the tables of my Erwin model.
I know how to do it for one table, but I would like to avoid having to
edit the property for each table individually...
Has anyone found a solution to this problem?

Thanks,
Andrea
Peter Teoh - 31 Jan 2008 02:05 GMT
Don't use the GUI tool, instead use sqlplus and issue the following
query:

select 'alter table ' || table_name || ' xxxxxxx;' from user_tables;

where xxxx is the attribute of the table u want to modify.

Or something like this.
DrOlap - 31 Jan 2008 10:00 GMT
> Don't use the GUI tool, instead use sqlplus and issue the following
> query:
[quoted text clipped - 4 lines]
>
> Or something like this.

Peter,
I think you are suggesting to use sqlplus to issue a command on my
Oracle database to change the desired properties, right? I know how to
do that, but that's not what I want to do. What I want is to change
the tablespace property for all tables and indexes IN THE PHYSICAL
MODEL OF MY ERWIN FILE, not on the database.
Andrea
Vince - 31 Jan 2008 15:26 GMT
> I'm trying to figure out how to set the tablespace for data and
> indexes on all the tables of my Erwin model.
[quoted text clipped - 4 lines]
> Thanks,
> Andrea

You may want to post such a question on a newsgroup that is specific
to your Erwin product. That being said, I know (at least newer
versions) of ER Studio come with a scripting language (VBA). You may
want to check that out.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2010 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.