/*****************************************************************************
*
* Filename         - $Workfile:   bag_alert_v1.sql  $
*
*                     Name              Date      Version     CR Number
* 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         - Archive schema view
*
* Language         - Oracle SQL*Plus script
*
* Classification   - Commercial In Confidence
*
*          (c) Ultra Electronics Limited, 1997
*
*****************************************************************************/
/****************************************************************************
* @(#)$Workfile:   bag_alert_v1.sql  $  $Revision:   1.3  $
*
* 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/arch/views/bag_alert_v1.sqv  $
* 
*    Rev 1.3   02 Apr 1998 19:09:26   tagtrak
* OR:
* CR:
* REV:
* Initial Issue
* See label for concession
* 
*    Rev 1.2   28 Oct 1997 14:35:16   tagtrak
* Added PVCS header
*
****************************************************************************/

PROMPT Creating view   BAG_ALERT_V1   ;
CREATE OR REPLACE FORCE VIEW   BAG_ALERT_V1   (PAX_ID  , BAG_TAG  , BAG_TAG1  , BAG_TAG2A  , BAG_TAG2B  , BAG_TAG3  , NO_WARNINGS  , LAST_TIME_STAMP  , ALERT_ON_ACTION, airport_code  
) as
  select  bag_alert.pax_id,  bag_alert.bag_tag,  bag_alert.bag_tag1,  bag_alert.bag_tag2a,  bag_alert.bag_tag2b,  bag_alert.bag_tag3,  bag_alert.no_warnings,  to_char(bag_alert.last_time_stamp, 'HH24:MI'),  bag_alert.alert_on_action, bag_alert.airport_code  from  bag_alert  ;

