Daten angepasst

This commit is contained in:
Peter Hormanns 2012-04-05 14:17:54 +00:00
parent 1d8ba82673
commit a9e0da750f

View File

@ -102,17 +102,17 @@ INSERT INTO inet_addr (inet_addr, description)
-- Table: Hive
--
INSERT INTO hive (hive_name, inet_addr_id, description)
SELECT 'h81', inet_addr_id, 'Test Hive h081' FROM inet_addr WHERE inet_addr = inet '176.9.242.67';
SELECT 'h99', inet_addr_id, 'Test Hive h99' FROM inet_addr WHERE inet_addr = inet '176.9.242.67';
--
-- table: packet
--
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id)
SELECT 'hsh00', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr
WHERE hive_name='h81' AND inet_addr = inet '176.9.242.69' AND member_id = 10000;
WHERE hive_name='h99' AND inet_addr = inet '176.9.242.71' AND member_id = 10000;
INSERT INTO packet (packet_name, bp_id, hive_id, created, cur_inet_addr_id)
SELECT 'hsh01', business_partner.bp_id, hive.hive_id, current_date, inet_addr.inet_addr_id FROM business_partner, hive, inet_addr
WHERE hive_name='h81' AND inet_addr = inet '176.9.242.70' AND member_id = 10000;
WHERE hive_name='h99' AND inet_addr = inet '176.9.242.72' AND member_id = 10000;
--
-- table: packet_component