On 10/11/2011 12:03 PM, Szymon Guz wrote:
unfortunately yes
cust_acct table Column | Type | Modifiers -----------------------+-----------------------------+------------------------------------------------------- account_id | bigint | not null default nextval('cust_account_id_seq'::regclass) customer_id | character varying(10) | order_id | integer | not null primary_contact_id | bigint | status | accounts_status_type | not null customer_location_id | integer | added_date | timestamp with time zone | not null Indexes: "cust_acct_pkey" PRIMARY KEY, btree (account_id) "cust_acct_cust_id_indx" btree (customer_id) "cust_acct_order_id_id_indx" btree (order_id) "cust_acct_pri_contact_id_indx" btree (primary_contact_id) cust_orders table Column | Type | Modifiers -----------------------------+-----------------------------+------------------------------------------------------- order_id | integer | not null default nextval('order_id_seq'::regclass) backorder_tag_id | character varying(18) | order_location_id | integer | not null work_order_name | character varying(75) | not null status | programs_status_type | not null additional_info_tag_shipper | character(16) | not null additional_info_tag_cust | character(16) | not null additional_info_tag_manuf | character(16) | not null additional_info_tag_supply | character(16) | not null acct_active_dt | timestamp without time zone | acct_last_activity_date | timestamp without time zone | acct_backorder_items | boolean | not null default false custom_info1 | text | custom_info2 | text | custom_info3 | text | custom_info4 | text | custom_info5 | text | custom_info6 | text | custom_info7 | text | Indexes: "cust_orders_pkey" PRIMARY KEY, btree (order_id) "cust_orders_order_id_loc_id_key" UNIQUE, btree (order_id, order_location_id) "cust_orders_loc_id_idx" btree (order_location_id)
-- --------------------------------------------- Kevin Kempter - Constent State A PostgreSQL Professional Services Company www.consistentstate.com --------------------------------------------- |