|
|
|
|
Home | | | Features | | | F A Qs | | | Download | | | Purchase | | | Links | | | Support | | | Contact us |
|
|
|
|
The Dinosaur Database
| |||||||||
|
Dino_Access_Email_Example1.sql | ||||||||||||
|
/* This example runs 3 queries and outputs them to one Access database called DINO.MDB as 3 separate tables called PERIODS, FEEDER_TYPE and DINOSAURS. The database and tables are created automatically. -- there should be only one Email address. -- if there is more than one than the last one takes precedence. SpoolAccess = "C:\Temp\Dino.mdb" SpoolTable = "Periods" Select DINO_PERIOD.PERIOD "Period", DINO_PERIOD.PERIOD_DESCRIPTION "Description" From DINO_PERIOD Order by DINO_PERIOD.PERIOD; SpoolTable = "Feeder_Type" Select DINO_FEEDER.FEEDER "Type of Feeder", DINO_FEEDER.FEEDER_MEANING "Meaning" From DINO_FEEDER Order by DINO_FEEDER.FEEDER; SpoolTable = "Dinosaurs" Select DINOSAURS.DINO_NAME "Name", DINOSAURS.MEANING "Meaning", DINOSAURS.PERIOD "Period", DINOSAURS.LIVED "Lived", DINOSAURS.FOUND "Found In", DINOSAURS.BODY_LENGTH "Body Length (m)", DINOSAURS.BODY_HEIGHT "Body Height (m)", DINOSAURS.BODY_WEIGHT "Body Weight (kg)", DINOSAURS.MOVED "Moves on", DINOSAURS.FEEDER_TYPE "Type of Feeder", DINOSAURS.FOOD "Eats", DINOSAURS.DESCRIBED_BY "Described By", DINOSAURS.YEAR_DESCRIBED "Year Described", DINOSAURS.UPDATE_DATE "Last Updated On" From DINOSAURS Order by DINOSAURS.PERIOD, DINOSAURS.DINO_NAME; | ||||||||||||
| The simple Boffin commands to output the results to the Access Table called DINO.MDB and Email are show in Red. | ||||||||||||
| To return to the list of examples click here | ||||||||||||
| Copyright © Boffin Associates, 2005 Oracle® is a registered trademark of the Oracle Corporation Microsoft®, Excel® and Access® are registered trademarks of Microsoft Corporation
|