Tables. What is a Table? A part of a database Container for data Pieces of data, put together, have...

19
Tables

Transcript of Tables. What is a Table? A part of a database Container for data Pieces of data, put together, have...

Tables

What is a Table?

• A part of a database• Container for data• Pieces of data, put together, have a meaning

Parts of a Table

• Field – Smallest part of a database– Specific piece of data

• Record– Related fields

• Table– Related records

Setting up a Table

1. Identify the fields that are needed2. Identify any property settings3. Name table with preface of tbl

Identify the Fields

• From discovery process• Organize into tables• Watch for redundancy– Relational database

Text

• Default data type

Text

• Default data type• Default size is 255 characters• Properties– Field size – from 1 to 255– Format• < forces lowercase• > forces upper case• Different for other data types

More Text

• Default Value – most people from ND, save them from having to type the information

• Validation Rule– If the organization was established in 1995, the

enter >1994 – no one will be able to put in <=1994• Validation Text – message that pops up when

there is an invalid entry• Required

More Text

• Allow Zero Length• Indexed• Unicode Compression

AutoNumber

Number

Memo

Date/Time

Currency

Yes/No

OLE

Hyperlink

Attachment

Input Masks

• Data entry– Simplify– Standardize

• DO NOT USE WITH ZIP CODES• Phone numbers– Watch for foreign countries