--
-- $Id$
--
-- Customer specific once-script FMHN#EXP_NPQ.sql.
DEFINE thisfile = 'FMHN#EXP_NPQ.SQL'
DEFINE dbuser   = '^FMHN'

SET ECHO ON
SET DEFINE ON
COLUMN fcltlogfile NEW_VALUE fcltlogfile NOPRINT;
WHENEVER SQLERROR EXIT;
SELECT adm.scriptspoolfile('&dbuser', '&thisfile') AS fcltlogfile FROM DUAL;
WHENEVER SQLERROR CONTINUE;
SPOOL &fcltlogfile
SET DEFINE OFF

------ payload begin ------

-- Export naar NQP!
CREATE TABLE fmhn_npq_export 
(
  res_rsv_artikel_key NUMBER(10),
  export_datum        DATE,
  res_rsv_ruimte_key  NUMBER(10),
  res_artikel_key     NUMBER(10),
  aantal              NUMBER(5),
  lever_datum         DATE
);
COMMIT;

------ payload end   ------

SET DEFINE OFF
BEGIN adm.systrackscriptId ('$Id$', 1); END;
/

COMMIT;
SET ECHO OFF
SPOOL OFF
SET DEFINE ON
PROMPT Logfile of this upgrade is: &fcltlogfile
