Deprecated: Creation of dynamic property wpdb::$categories is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$post2cat is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/wp-db.php on line 668

Deprecated: Creation of dynamic property wpdb::$link2cat is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/wp-db.php on line 668

Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-theme.php on line 554

Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-theme.php on line 595

Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-theme.php on line 535

Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-theme.php on line 544

Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/rest-api/class-wp-rest-request.php on line 952

Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/rest-api/class-wp-rest-request.php on line 972

Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/rest-api/class-wp-rest-request.php on line 984

Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/rest-api/class-wp-rest-request.php on line 995

Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 151

Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 175

Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 164

Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 186

Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 138

Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 75

Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 89

Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 110

Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 127

Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-block-list.php on line 199

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 21

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 22

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 153

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/translations.php on line 293

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 21

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 22

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 153

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/translations.php on line 293

Deprecated: Creation of dynamic property POMO_FileReader::$is_overloaded is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 21

Deprecated: Creation of dynamic property POMO_FileReader::$_pos is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 22

Deprecated: Creation of dynamic property POMO_FileReader::$_f is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/streams.php on line 153

Deprecated: Creation of dynamic property MO::$_gettext_select_plural_form is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/pomo/translations.php on line 293

Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp.php on line 173

Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/wp-db.php on line 3031

Deprecated: Creation of dynamic property WP_Term::$object_id is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/class-wp-term.php on line 198

Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 383

Warning: Cannot modify header information - headers already sent by (output started at /home/cloudy17/instructions.whiskyzulu.net/wp-includes/wp-db.php:668) in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/feed-rss2.php on line 8
0006 Relational Database background – Whisky Zulu https://instructions.whiskyzulu.net Your online cask inventory database Mon, 17 Aug 2020 09:10:08 +0000 en-GB hourly 1 https://wordpress.org/?v=5.6.17 https://instructions.whiskyzulu.net/wp-content/uploads/2021/02/GlassofWhisky-150x150.jpg 0006 Relational Database background – Whisky Zulu https://instructions.whiskyzulu.net 32 32 0006 Relational Database some background https://instructions.whiskyzulu.net/index.php/2019/11/04/0006-relational-database-some-background/ Mon, 04 Nov 2019 01:22:08 +0000
Deprecated: Creation of dynamic property WP_Term::$cat_ID is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 378

Deprecated: Creation of dynamic property WP_Term::$category_count is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 379

Deprecated: Creation of dynamic property WP_Term::$category_description is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 380

Deprecated: Creation of dynamic property WP_Term::$cat_name is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 381

Deprecated: Creation of dynamic property WP_Term::$category_nicename is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 382

Deprecated: Creation of dynamic property WP_Term::$category_parent is deprecated in /home/cloudy17/instructions.whiskyzulu.net/wp-includes/category.php on line 383
http://instructions.whiskyzulu.net/?p=223 Continue reading 0006 Relational Database some background]]> It is useful when viewing many applications to be aware of the structure of the data that the screens draw from. Your data is stored in SQL Server which is referred to as a relational database – this is a generic name given to a group of database programs that store information in indexed tables with the tables being related to each other either by a one to one relationship or alternatively a one to many relationship, there are many to many relationships as well but this is is actually 2 one to many relationships. Data is segregated into tables each with an index using a procedure called normalisation. An index is simply a unique number given to each new record. Indexes are not always visible to the user. The way this database has been designed every tables index is called PKID. In certain circumstances you will be able to see the indexes of some fields where you can see them this is a quick way of identifying a unique record. Normalisation is an idea based around simple group set algebra that reduces duplication of data, done well it allows for substantially reduced data entry and maintenance requirements for users.

The CASK Inventory database is arranged into primary tables and lookup tables. Primary tables hold information whereas lookup tables can hold the values that are stored in individual fields.

The main tables in this database at February 2020 are

CASK FILL – holds information pertaining to whisky in a cask

TRANSACTIONS – holds all individual transactions

PERSON – holds the attributes of individuals

ORGANISATION – holds attributes relating to separate organisations

CASK NOTES – holds notes about differing casks

CASK TRANSFER – holds notes about cask transfers

CASK SAMPLES – holds details assoiciated with sampling of tables

By referentially relating these tables and lookup tables infinite amounts of information are possible to be stored.

]]>