[Erwin] How to replace all datatypes using domain dictionary in Erwin

Hi,
I am new to ERWin.
My issue ---
I have an existing database that I re-engineered in ERWin, but due
some requirements and standard changes, I have to edit the model.
A lot of these changes will apply to every table. e.g. Column
DT_ADDED needs to change to DATE_ADD etc.What I find astounding is
that in ERWin the columns are attached to tables, there is no list of
columns that I can go edit. All other data modelling tools allow us
to maintain a list of columns, it make the columns maintenance
independent of tables thereby, making it easier to maintain. It also
help keep column defination etc consistant.
I did try to use domains, but since my databse is UDB V8.2, ERWin is
trying to create a user data type which is not allowed at my company.
I do not wish to do global search and replace in a text file... it
beats the purpose of maintainability of column definations etc.
I am so sure that there is a good solution and since I am new to
ERWin , I do not know the easy solution.
Please help.

.What I find
astounding is
that in ERWin the columns are attached to tables,
there is no list of
columns that I can go edit. I will find it astounding if the columns are not attached to tables.
Different tables can has same column name, if you blindly change a column without knowing which table it associated with, that create more problem than convenience.

Similar Messages

  • How to replace all existed objects when impdp a schame ???

    I wrote 2 functions which do expdp and impdp
    the impdp funciton is :
    create or replace function impdp_schema(fromusr in varchar2,
                                            tousr   in varchar2,
                                            dir     in varchar2,
                                            dmpfile in varchar2,
                                            logfile in varchar2 default null)
      return number as
      h1        NUMBER;
      job_name  varchar2(128);
      job_state varchar2(32767);
      ret       number;
    BEGIN
      if dir is null or dmpfile is null then
        return 1;
      end if;
      ret := 0;
      job_name := 'IMP' || to_char(sysdate, 'yyyymmddhh24miss');
      h1 := DBMS_DATAPUMP.OPEN('IMPORT',
                               'SCHEMA',
                               NULL,
                               job_name,
                               'COMPATIBLE',
                               DBMS_DATAPUMP.KU$_COMPRESS_METADATA);
      DBMS_DATAPUMP.ADD_FILE(h1,
                             dmpfile,
                             dir,
                             null,
                             DBMS_DATAPUMP.KU$_FILE_TYPE_DUMP_FILE);
      if logfile is not null then
        DBMS_DATAPUMP.ADD_FILE(h1,
                               logfile,
                               dir,
                               null,
                               DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE);
      end if;
      DBMS_DATAPUMP.METADATA_REMAP(h1,
                                   'REMAP_SCHEMA',
                                   UPPER(fromusr),
                                   UPPER(tousr));
      DBMS_DATAPUMP.set_parameter(h1, 'TABLE_EXISTS_ACTION', 'REPLACE');
      DBMS_DATAPUMP.START_JOB(h1);
      dbms_datapump.wait_for_job(h1, job_state);
      dbms_datapump.detach(h1);
      dbms_output.put_line(job_state);
      return ret;
    exception
      when others then
        dbms_output.put_line(SQLERRM);
        dbms_datapump.detach(h1);
        return 1;
    END;------------------------------------
    when I test this function, I found some errors :
    Master table "SYS"."IMP20100823152536" successfully loaded/unloaded
    Starting "SYS"."IMP20100823152536": 
    Processing object type SCHEMA_EXPORT/USER
    ORA-31684: Object type USER:"WIS00001" already exists
    Processing object type SCHEMA_EXPORT/SYSTEM_GRANT
    Processing object type SCHEMA_EXPORT/ROLE_GRANT
    Processing object type SCHEMA_EXPORT/DEFAULT_ROLE
    Processing object type SCHEMA_EXPORT/PRE_SCHEMA/PROCACT_SCHEMA
    Processing object type SCHEMA_EXPORT/SEQUENCE/SEQUENCE
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_ID_WIS_LOG" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_TID_TABLENAME" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_WIS_MASS" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_WITSDELAY_1" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_WITSDELAY_2" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_WITSDELAY_3" already exists
    ORA-31684: Object type SEQUENCE:"WIS00001"."SEQ_WITSEDIT" already exists
    Processing object type SCHEMA_EXPORT/TABLE/TABLE
    Processing object type SCHEMA_EXPORT/TABLE/TABLE_DATA
    . . imported "WIS00001"."WITS_98_PIC"                    28.28 KB      97 rows
    . . imported "WIS00001"."DRAWING_CONTROL"                26.94 KB     218 rows
    Processing object type SCHEMA_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type SCHEMA_EXPORT/TABLE/INDEX/INDEX
    Processing object type SCHEMA_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type SCHEMA_EXPORT/PROCEDURE/PROCEDURE
    ORA-31684: Object type PROCEDURE:"WIS00001"."PROC_GETITEM" already exists
    Processing object type SCHEMA_EXPORT/PROCEDURE/ALTER_PROCEDURE
    Processing object type SCHEMA_EXPORT/TABLE/TRIGGER
    **Job "SYS"."IMP20100823152536" completed with 9 error(s) at 15:30:12**---------------
    how to replace all objects when exist ??? include sequence, table, procedure/function???
    </pre>
    Edited by: UNISTD on 2010-8-23 上午12:50

    I love posts without a 4 digit version number. This may well be because of a bug, and as this post is lacking a 4 digit version number, nobody will be able to answer it.
    You posted in vain.
    I recommend you search on Metalink whether there are issues with this parameter.
    Sybrand Bakker
    Senior Oracle DBA

  • Please help: How to replace all data on mid-2010 MacBook Pro 15 with Timemachine backup from 2009 MBP 13

    OK so I bought a mid-2010 MacBook pro 15 from a friend and he did not erase anything before he gave it to me. I was previously working on a 2009 MacBook pro 13 and have a Timemachine backup from that which I would like to install on the MBP 15 replacing all of the current data.
    I have tried rebooting using the OSX disc that came with the MBP 15 but that won't work - I am assuming that is because the OSX disc is version 10.6.3 while the current OS on the MBP 15 is 10.7.4
    What is the best/easiest way to use the Timemachine backup of my MBP 13" to replace all info on the MBP 15"?
    This seems like something that should be easy but I have been trying to do it since last night and haven't found relevant info in the discussion forums. Any help would be greatly appreciated!!
    Thanks!

    MacBook Pro 15" 2010
    Intel Core i7 2.8GHz M 640 Arrandale Cores 2  (2867)
    8GB max RAM 2 - 204-pin PC3-8500 (1066 MHz) DDR3 SO-DIMM
    NVIDIA GeForce GT 330M 512MB (15.85) (369) and Intel HD Graphics 3000 (10) (309)
    MacBook Pro 13" Mid 2012
    Intel Core i7 3520M Ivy Bridge Cores 2 (4519)*
    16GB RAM max actual (8GB Apple) 2 - 204-pin PC3-12800 (1600 MHz) DDR3 SO-DIMM
    Intel HD Graphics 4000 (unknown) (465)*
    The 13" is a more powerful machine and it has more RAM capacity.

  • How to Publish Multiple Websites Using Domain Masking

    Let's say I have a mobileme acct called applesoranges, but then I decided not to use this name for my website. Using iweb, I have created a different website called blueberry.com, and was able to figure out how to set up my personal domain and then mask appleoranges so that only blueberry.co, appears.
    I now want to add another website called strawberry.com. With one mobileme acct (applesoranges), is it possible to host 2 separate websites, each of which is masking the original mobileme acct? How does one set up 2 separate websites using iweb (each masking the original acct name)?
    Many thanks!

    For every MobileMe account you can only use the personal domain name option and CNAME only once. You enter your first domain name into your MMe account and then go and set up CNAME forwarding at your domain registrar to forward to web.me.com. For any other sites that you create, you need to go to web forwarding. You set-up the other domain names by using masked web forwarding and point them to web.me.com/username/sitename and by masking these will just show your domain name address and not your MobileMe/iWeb url.
    Make sure that you separate out your sites, as it will be easier. You can either duplicate the domain.sites files and have one site per a domain file or use a program called iWebSites to help you manage multiple sites.
    You also have the option of not using MMe and you can publish to a folder instead and upload directly to each domain hosting space. This gets away from the problem of how to forward sites to iWeb/MMe.

  • How to Replace All the Bridge CS6 Stock Keywords With Bridge CS5 Keywords

    I have CS6 working in a different computer than the one that houses CS5. Bridge CS6 can read CS5 keywords when it opens an "old" photo but it has none of its own (besides the stock ones that came with the program). How can I replace all the stock CS6 keywords with the keywords from CS5?

    Have you tried the Import/Export options from the tiny menu at the top-right of the Keywords panel?

  • How to replace all objects while using IMPDP

    I have exported a schema using EXPDP, now I am trying to import (IMPDP) that into another database as different schema, which already contains some of the objects (like tables, procedures, sequence etc). I using the option of REPLACE for TABLE_EXISTS_ACTION, but that doesn't replace if any existing procedures, sequences etc. Please let me know what option I should to replace every objects.
    And also I am getting this error
    ORA-39083: Object type JOB failed to create with error:
    ORA-00001: unique constraint (SYS.I_JOB_JOB) violated
    Failing sql is:
    BEGIN SYS.DBMS_IJOB.SUBMIT( JOB=> 6, LUSER=> 'WILLIAMS_DESIGN', PUSER=> 'WILLIAMS_DESIGN', CUSER=> 'WILLIAMS_DESIGN', NEXT_DATE=> TO_DATE('2010-05-17 14:00:00', 'YYYY-MM-DD:HH24:MI:SS'), INTERVAL=> 'trunc(sysdate+1/24,''HH'')', BROKEN=> FALSE, WHAT=> 'ol_update_query_result_stats();', NLSENV=> 'NLS_LANGUAGE=''AMERICAN'' NLS_TERRITORY=''AMERICA'' NLS_CURRENCY=''$'' NLS_ISO_CURRENC
    Job "WILLIAMS_CLEAN"."SYS_IMPORT_FULL_01" completed with 10678 error(s) a
    Thanks

    Hi,
    There is no way to do what you want using datapump. Datapump does not have an 'OBJECT_EXISTS_ACTION = REPLACE'. All it has is the TABLE_EXISTS_ACTION. Can you get around this by dropping the schema? If not, then the only way I can think of is by using the sqlfile parameter on impdp.
    sqlfile allows you to write all of the ddl that is going to be executed during a datapump job to a .sql file. You can then edit that file and either attempt a drop before the create or change the 'create' to 'create or replace'. Then run the .sql file.
    You would then have to run the datapump import job with content=data_only to load the tables with their data.
    Dean

  • How to replace DHCP server from domainA with DHCP from domainB?

    Hello fellow Administrators,
    We have one remote site with one subnet. There's domainA domain controller and about 100 domainA's client computers in that subnet. We're about to send 100 domainB's client computers there as well.
    There's also domainA's DHCP server running on the same subnet. DHCP scope options include domainA's domain name, gw and domainA's DNS server addresses.
    DomainA and DomainB belongs to separate forests and there's two-way trust between them. DomainA DNS has stubzone for DomainB and DomainB has stubzone for domainA. That's how
    clients can resolve hostnames of other domain.
    All domainA's clients in remote site will be replaced gradually with domainB's client computers, but this can take a long time.
    I want to note, that I cannot create second subnet for domainB at the moment.
    At some point, we need to deploy DHCP server to domainB's member server in the remote site. What are the steps I should take to replace existing domainA's DHCP server with domainB's DHCP server while still allowing clients from domainA and domainB to successfully
    find domain controller of their own domain and being able to resolve hostnames from both domains?

    When the devices on your network first request an IP address or reach the end of their leases (or you force them to check their lease is still valid) they will simply
    broadcast a request for a DHCP server, and will accept an offer from the first DHCP server
    to reply. 
    Multiple DHCP servers PT 1: Spanning multiple subnets.
    If you have several VLANs or physical network segments that are separated into different subnets, and you want to provide a DHCP service to devices in all those subnets then there are two ways of doing this.
    If the router / layer 3 switch separating them can act as a BOOTP/DHCP relay agent, then you can continue to keep all your DHCP server(s) in one or two central parts of your network and configure your DHCP server(s) to support multiple ranges of addresses.
    In order to support this, your router or layer 3 switch must support the BOOTP relay agent specification covered in section
    4 of RFC 1542.
    If your router does not support RFC 1542 BOOTP relay agents, or if some of your network segments are geographically dispersed over slow links, then you will need to place one or more DHCP server in each subnet. This ‘local’ DHCP server will only serve its own
    local segment’s requirements, and there is no interaction between it and other DHCP servers. If this is what you want then you can simply configure each DHCP server as a standalone server, with the details of the address pool for its own subnet, and not worry
    about any other DHCP servers on other parts of the network. This is the most basic example of having more than one DHCP server on the same network.
    http://www.arabitpro.com

  • How to print all columns using af:showPrintablePageBehaviour component ?

    Hi,
    JDev ver : 11.1.1.2.0
    I have 25 columns in my table and table is surrounded by panel collection.
    In panel collection toolbar facet I have added one command button and inside command button I have added af:showPrintablePageBehaviour compoent.
    I can able to see only 15 columns which are fits to entire browser window.
    How can I print all 21 columns using this in new browser window or any other way ?
    regards,
    devang

    Hi,
    showPrintable behavior only removes action components and beside of this renders the screen as you have it. If the screen you have doesn't show all of the columns then show printable behavior doesn't do either and you may need to look for alternative printing/reporting solutions
    Frank

  • How to get all records using Invoke-webrequest?/Why Invoke-webrequest returns only first 2000 Records?

    invoke-webrequest content returning only 2000 records though it has around 4000 records in web api.
    The same url if I give in excel oData Data feed I am getting all the records.
    See the below script
    Script:
    $QueryResult= (Invoke-WebRequest -Uri $ODataURI -UseDefaultCredentials)
    [xml]$xmlResult=$QueryResult.content
    foreach($obj in $xmlResult.feed.entry.content.properties)
    $Name=$obj.Name;
    $IsAvail=$obj.isAvail.'#text';
    $PGroup=$obj.PGroup
    I am exporting the above result as a CSV file and my CSV file contains only 2000 records. 
    But,  $xmlResult.feed.Count --> it Shows 4000 Records.
    The same Odata url if I give in excel oData Data feed I am getting all the 4000 records.
    So Please help me how can I get all the records using power shell.
    Thanks
    A Pathfinder..
    JoSwa
    If a post answers your question, please click &quot;Mark As Answer&quot; on that post and &quot;Mark as Helpful&quot;
    Best Online Journal

    Hi Jo Swa(K.P.Elayaraja)-MCP,
    Would you please also post code which is used to export the records?
    In addition, to use the cmdlet invoke-RestMethod to work on ODate feeds, please refer to this article:
    Interacting with TechEd NA 2012 Schedule using PowerShell v3
    I hope this helps.

  • How to display "All Items" using a "Filtered Rows" Combo Box

    Hi
    How do I make a Combo Box with "Filtered Rows" show "All Values" by default, AND have the option to select individual filters?
    If my data was
    North
    South
    East
    West
    I would want the Combo box to display
    ALL
    North
    South
    East
    West
    When the user selected:
    North, they should see just the filtered rows with North
    South, they should see just the filtered rows with South
    ALL should be the default, and it should ifilter/include North, Soutn, East and West (i.e. showing all the rows)
    I need to use a Combo box and Filtered Rows, because I actually want to filter my dataset using multiple columns:
    Company, Region, District, Sector, Value
    My current method is to:
    use a Combo to filter the RawData on Company into an Intermediate_Company worksheet
    use another Combo to filter the Intermediate_Company worksheet on Region into an Intermediate_Region worksheet
    use another Combo to filter the Intermediate_Region worksheet on District into an Intermediate_District worksheet
    use another Combo to filter the Intermediate_District worksheet on Sector into an Intermediate_Sector worksheet
    then display in a List View from the Intermediate_Sector worksheet.
    Any comments on this method would also be welcome.
    Thanks for your help
    Stuart

    Thanks Muwa
    I've uploaded a non-working version here: http://www.teradepot.com/ntxgoo6629zi/Simple_All_Combo.xlf.html
    I've figured out how to use tthe filter to copy a subset of the rows in the source date to the destination are of the worksheet.
    I can't figure out how to use a filter to copy ALL the rows in the source to the destination.
    I've seen hints about using hidden filters, but I can't make this work, either.  It's quite depressing, really
    I'm very grateful for any help you can give.
    Thanks in advance
    Stuart

  • How to set all pages using template A to instead use template B?

    I am using Dreamweaver Web CS4.
    I have inherited a website that uses Dreamweaver templates.  In the website, the previous webmaster used several different templates for different sections of the site.
    I am trying to redesign the website to use PHP includes to decrease the bloat of the site.  As such, I am trying to change the template for all pages on the site to the new one that I have designed.  I have not found a way to do this.  I can select pages individually and change their templates but I have not found a way to do a batch template update.  Is there a way to do this?  If not, can anyone think of a better way to standardize the website rather than updating templates individually?

    You would definitely want to add the title editable region.  Each page should have a page-specific title for optimal SE exposure.  Without that editable region, you wouldn't be able to create page-specific titles.
    So - add the title editable region.  Now your two templates have the same number of editable regions, each with the same name.
    Then all you have to do is to close *all* files in DW.  Then do a find and replace like this -
    FIND -
    /Templates/template_A.dwt
    REPLACE -
    /Templates/template_B.dwt
    Make a backup of the whole site first.
    Finally, open template_B, make a trivial change and reverse it.  Save template_B and update the whole site.  That should do the trick.

  • How to print all pages using ALV from CL_SALV_TABLE?

    Dear friends,
    I have a report which displays a dynamic internal table using CL_SALV_TABLE. The display format is normal list.
    And since this dynamic internal table is big, I have divided it into a sub internal table which displays 10 columns in one page at one time. And each page is displayed using a customized button that I set as MyFunction.
    The problem is, when I click List->Print or Ctrl-P, the system will only send to spool the current page even though in the Print dialog box, I choose Print All option.
    Is there a way to rectify this? Thanks.

    Hi,
    Try this..code...the above FM expects purchasing organization..revised code below mentioned..
    please try..
    DATA: kdy_val(8) VALUE '/110'.
      SET PARAMETER ID 'LIF' FIELD 'VENDOR'.   " Pass the vendor
      SET PARAMETER ID 'KDY' FIELD KDY_VAL.
      CALL TRANSACTION 'XK03' AND SKIP FIRST SCREEN.
    Thanks
    Naren

  • How to replace all prior admin account info and files

    I know this is a common question but I'm bogging down reading the various threads and would appreciate a link or answer.
    I replaced my Powerbook hard drive, clean installed (no archive) and updated Tiger, transfered my home folder and apps only via Carbon Copy Cloner from a back up drive. I noticed that I had typo'ed my ne Admin long and short name. I went to Sys Prefs/Accts and created a new account, logged into that one, gave it admin access, re-logged to the new acct and deleted the old one.
    My P'Book still shows the old name on start up. How do rename and certain that any other existing system level or other files under the old acct are gone. I'm also getting keychain password box and the P'Book immediately wakes up when trying to Sleep from Apple menu or closing the lid.-checked energy saver settings and reset Power Manager... I'll look at those after I'm sure there's nothing lingering from the old admin account. No other problems noted.
    I'd greatly appreciate a thread or explanation.
    Thank you.

    Yes, the old account is gone in Sys Prefs/Accts. When I start up the machine, the old name still shows above the log in window, while the new account name is the only log in option.
    I've also got a keychain mail password box popping up so I want to be sure that everything is gone from the old account before I resolve the keychain. Some threads here give me the impression there may be other files lingering from the original account set up from the boot disk, even though I deleted it from Sys Prefs/Accts.

  • How to determine all tables used in a series of maps?

    Hi, I'd like to find out all of the tables in the source warehouse builder schemas that are actually being used during ETL. I imported the entire databases at the start of the project, and want to find out which of the 2000 tables are actually being used.
    Is there a simple query I can run against the repository owner views to determine all tables actively being queried?
    Thanks in advance for the help!
    Scott

    Scott,
    maybe the simplest way to report tables usage in mappings is extracting this info from DB dictionary view DBA_DEPENDENCIES.
    Of course this method has several limitations:
    - all mappings must be of type PLSQL
    - all mappings must be deployed to target database
    - maybe it doesn't work for non-Oracle source databases
    For example, this query (when executed in target DWH schema) shows remote databases (and number of used tables in each source DB) used by PLSQL packages (mappings, of course you need to exclude "non-mapping" packages with additional filter)
    select REFERENCED_LINK_NAME,count(distinct REFERENCED_OWNER||'.'||REFERENCED_NAME) from user_dependencies
    where REFERENCED_LINK_NAME is not null and type='PACKAGE BODY'
    group by REFERENCED_LINK_NAME;
    When source and target schemas are in the same DB this query will be different
    (in this this case source system will be identified by REFERENCED_OWNER column and REFERENCED_LINK_NAME will be NULL).
    As I know OWB repository tables/views for lineage/impact analysis are not published/documented by Oracle.
    Regards,
    Oleg

  • In background how to display all fields using reuse_alv_list_display

    Hi all,
            I have output table with 100 fields,when i ran in background its giving the output with out alignments,how to make the whole record in a single line,presently it displays each record in a 3 rows,please help me
    thanks
    Sriman

    Hi,
       In fore ground it displaying all columns but when i ran in background its giving all fields but the each record contains rows,i need to make it as single line
    the code i have written for this is.
    for background is there any parameter to add for this code.help me
    ls_layout-colwidth_optimize = 'X'.
    CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
        EXPORTING
          i_callback_program = repid
          it_fieldcat        = it_fieldcat
         it_events          = events_b
          is_layout          = ls_layout
        it_events          = it_events
            is_print           = ls_print
          i_save             = 'X'
        TABLES
          t_outtab           = t_ce1jab1.
    thanks
    sriman

Maybe you are looking for

  • How can I set the default font in tables

    I am using Pages "09 4.3.  I use Myriad in Table cells and have to change the font in about 6 cells in a table before Pages accepts that is the one to use.  I would like to be able to determine the default font in one operation when I first set the d

  • GNU S tells me: "JAVA_HOME is not set"

    Yes, this is a silly question. I don't understand why GNU S can't find Java. Tomcat knows where it is, and so does everything else. My variable to connect GNU S with the SJava library is proper, but Java is unknown. Help is appreciated. My system is

  • Cannot view TIF, TIFF files,

    Just installed Itunes w/quicktime. Now I cannot open any of my TIF or TIFF files that were able to be viewed with Microsoft Picture viewer. Seems to default to Quicktime, but screen is blank. Any ideas?

  • Macbook Pro vs Macbook Air for Aperture while traveling

    I have an old Macbook (white) that we've used for years while traveling, but Aperture 3 can't be used on it so I need to upgrade. (My MAIN computer is a 21" Imac). I will use it only for traveling to download photos each night and be able to review t

  • Invisible Illustrator files in CS5 AE unless I Continuously Rasterize

    Hi For some bizarre reason my Illustrator vectors aren't visible unless I Continuously Rasterize. It's only started happening recently - anyone else having the same problem or solution? Thanks Rob