/*****************************************************************************
*
* Filename         - $Workfile:   hold_config_carrier_v.sql  $
*
*                     Name              Date      Version     CR Number
*                     Martin Helliwell 8/10/3       1.0        
* Author           - See revision history below.
* Last Update      - See revision history below.
*
* Project Name     - TAGTRAK(Oracle Database)
*
* Source Code
* Identifier       - 0/3/300/8010/112
*
* Design Spec
* Section          -
*
* Contents         - Live Schema View
*
* Language         - Oracle SQL*Plus script
*
* Classification   - Commercial In Confidence
*
*          (c) Ultra Electronics Limited, 2003
*
*****************************************************************************/
/****************************************************************************
* @(#)$Workfile:   hold_config_carrier_v.sql  $  $Revision:   1.0  $
*
* Revision History
*
* Note that user tagtrak is many users. For these users the user
* name is entered as the last line in the change description.
*
* $Log:   /shared/pvcs/tagtarch/db_ora/db/source/live/views/hold_config_carrier_v.svl
  $
*
*****************************************************************************/

/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                                                                           *
 * View to select all airline alpha codes for which an agent has created     *
 * hold configurations                                                       *
 *                                                                           *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
PROMPT Creating view hold_config_carrier_v

CREATE OR REPLACE FORCE 
VIEW hold_config_carrier_v
(agent_code
,carrier_alpha_code
) AS
SELECT agent_code
,carrier_alpha_code
FROM hold_config
GROUP BY agent_code
,carrier_alpha_code
/
