DESIGNER_OUTPUT_ALL_DESIGN_PROJECTIONS
Displays the DDL statements that define the design projections to standard output.
Behavior Type
Syntax
DESIGNER_OUTPUT_ALL_DESIGN_PROJECTIONS ( 'design‑name' )
Parameters
design‑name |
Name of the target design. |
Privileges
Superuser or DBDUSER
Examples
The following example returns the design projection DDL statements for vmart_design
:
=> SELECT DESIGNER_OUTPUT_ALL_DESIGN_PROJECTIONS('vmart_design'); CREATE PROJECTION customer_dimension_DBD_1_rep_VMART_DESIGN /*+createtype(D)*/ ( customer_key ENCODING DELTAVAL, customer_type ENCODING AUTO, customer_name ENCODING AUTO, customer_gender ENCODING REL, title ENCODING AUTO, household_id ENCODING DELTAVAL, customer_address ENCODING AUTO, customer_city ENCODING AUTO, customer_state ENCODING AUTO, customer_region ENCODING AUTO, marital_status ENCODING AUTO, customer_age ENCODING DELTAVAL, number_of_children ENCODING BLOCKDICT_COMP, annual_income ENCODING DELTARANGE_COMP, occupation ENCODING AUTO, largest_bill_amount ENCODING DELTAVAL, store_membership_card ENCODING BLOCKDICT_COMP, customer_since ENCODING DELTAVAL, deal_stage ENCODING AUTO, deal_size ENCODING DELTARANGE_COMP, last_deal_update ENCODING DELTARANGE_COMP ) AS SELECT customer_key, customer_type, customer_name, customer_gender, title, household_id, customer_address, customer_city, customer_state, customer_region, marital_status, customer_age, number_of_children, annual_income, occupation, largest_bill_amount, store_membership_card, customer_since, deal_stage, deal_size, last_deal_update FROM public.customer_dimension ORDER BY customer_gender, annual_income UNSEGMENTED ALL NODES; CREATE PROJECTION product_dimension_DBD_2_rep_VMART_DESIGN /*+createtype(D)*/ ( ...
See Also
DESIGNER_OUTPUT_DEPLOYMENT_SCRIPT