| | |
| | | WHERE hive_name='h81' AND inet_addr = inet '192.168.108.201' 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 '192.168.108.202' AND member_id = 10000; |
| | | WHERE hive_name='h81' AND inet_addr = inet '192.168.108.202' AND member_id = 10000; |
| | | |
| | | -- |
| | | -- table: packet_component |
| | | -- |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 1, packet.packet_id, 2, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 2, packet.packet_id, 128, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 3, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 4, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 5, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh00'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 1, packet.packet_id, 2, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 2, packet.packet_id, 128, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 3, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 4, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | INSERT INTO packet_component (basepacket_id, basecomponent_id, packet_id, quantity, created) |
| | | SELECT 1, 5, packet.packet_id, 0, current_date FROM packet |
| | | WHERE packet.packet_name = 'hsh01'; |
| | | |
| | | -- |
| | | -- table: unixuser |
| | | -- |