home *** CD-ROM | disk | FTP | other *** search
- /*
- THIS FILE IS FOR USE WITH THE TUTORIAL IN "GETTING STARTED",
- IT IS NOT MEANT TO BE USED WITHOUT REFERRING TO THE MANUAL.
-
- * You must change the parameters below to match your
- * server name, database name , username, and password.
- * This file migrates data from the external table SALES_EXT
- * to the SALES table
- */
-
- CONNECT "server:\dir\mydb.gdb"
- USER "USERNAME" PASSWORD "password";
-
- insert into sales
- (po_number, cust_no, sales_rep, order_status, order_date, ship_date,
- date_needed, paid, qty_ordered, total_value, discount, item_type)
- select
- po_number, cust_no, sales_rep, order_status, order_date, ship_date,
- date_needed, paid, qty_ordered, total_value, discount, item_type
- from sales_ext;
-
- commit;
- exit;