• Aucun résultat trouvé

Resources – MS Access

N/A
N/A
Protected

Academic year: 2022

Partager "Resources – MS Access"

Copied!
14
0
0

Texte intégral

(1)

Resources – MS Access

Free Online Training Resources

Using an Access database to store and information (2 min)

http://office.microsoft.com/en-us/assistance/HA0117096810 33.aspx

Creating tables in Access (50 min):

http://office.microsoft.com/training/training.aspx?

AssetID=RC061183261033

Writing queries (50 min):

http://office.microsoft.com/training/training.aspx?

AssetID=RC010776611033

Youtube

http://www.youtube.com/view_play_list?

p=D1836790490DF1AD&search_query=ms+access+2003+tutorial

(2)

Definitions, Definitions…

 Database: Collection of tables and queries

 Table (or relational table)

 Collection of records that share a

common fundamental characteristic

 Record

 A record is composed of fields

 Query

 Set of instructions to a database “engine”

to retrieve, sort and format returning data.

 “find me the # of housing sales in my

database”

(3)

What is the difference between a table and a

query?

(4)

What is the difference between tables and

queries?

(5)

Create MS Access database

(6)

Querying MS Access

or any relational database…

Querying = extracting information out of the database

This is done using the Structured Query Language (SQL)

Select fields Select records

Select PARCELID, ADD2, SQFT, LANDUSE From PARCELS

Where SQFT>5000

Select table

(7)

Example table

(8)

Querying MS Access

or any relational database…

Select PARCELID, ADD2, SQFT, LANDUSE From PARCELS

Where LANDUSE like ‘C’ OR LANDUSE like ‘R*’ OR LANDUSE like ‘A’

Example:

Wildcard characters: ‘*’ ‘%’

AND vs. OR

Select fields

Select records

(9)

 What if you want to query two tables?

Ownership Parcel

Querying MS Access

or any relational database…

What will happen if you don’t

match up the tables with owerid?

A shared key

Shared key (ownerid) that is:

1. unique to each table

2. can be referenced by another table

(10)

SELECT PARCELS.PARCELID, PARCELS.SQFT, OWNERS.OWNERNUM, PARCELS.ONUM, OWNERS.ONAME FROM OWNERS INNER JOIN PARCELS ON OWNERS.OWNERNUM = PARCELS.ONUM

WHERE (((PARCELS.SQFT)>5000));

(11)

From queries to tables

(12)

Import MS-Access tables to ArcGIS

-Use MS Access database provider to talk to MS-Access

(13)

1. Specify the location of your database

2. Test connection 3. Click “OK”

(14)

Miscellaneous

One OLE DB connection will create only one connection to the database.

ArcGIS will remember the connection for you.

Références

Documents relatifs

We address health capital and its spill- over effects and briefly outline a research program dis- criminating between pathogenic (negative for health) and salutogenic (positive

Trigger Agent sends apk signature to the server (including implicit login) Preconditions The Agent is enabled, the server is active. Flow of Events #

En plus de ces demandes externes, votre métier de Product Manager vous amène à réfléchir en permanence à de nouvelles idées pour faire évoluer votre produit,

40 These workday processes – almost identical for the two mail carrier occupations – involve the following steps : a) sorting and preparation of the delivery. b) loading

Thus, it is promising that people older than 65 years in this study had less intense dog–human interactions than people younger than 65 years, as less intense interactions

• Lors du remplacement de composants du système de réservoir à robinet de chasse FLUSHMATE ® , assurez-vous d’abord de fermer le robinet d’alimentation et de déclencher ensuite la

There appears to be a significant crowding-out between economic and ethical motivations, for the adoption of both types of management programs (conventional and ProSilva), so that

Delineation of Vine Parcels by Segmentation of High Resolution Remote Sensed Images.. Jean-Pierre da Costa, Franck Michelet, Christian Germain, Olivier Lavialle,