Generating a Netezza DDL from CA ERwin
From the physical data model of the Atomic Warehouse Model (AWM) or the Dimensional Warehouse Model (DWM), you can generate a Netezza–compatible DDL using a Microsoft PowerShell script available with the product.
Before you begin
Procedure
- Locate the generate_xml_to_ddl.ps1 script in the installation directory.
- Refer to the readme.txt file for more details on running this script.
- Start Microsoft PowerShell.
- Run ./generate_xml_to_ddl.ps1 <path_to_xml_file> <target_ddl_file> <char_delim> <distrib_key> <max_length>. For example, ./generate_xml_to_ddl.ps1 ‘c:\physmodel.xml’ ‘myDDL.sql’ ‘;’ ‘PK’ ‘255’.