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
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
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
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/rest-api/class-wp-rest-server.php on line 1637
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/rest-api/class-wp-rest-server.php on line 1637
{"id":223,"date":"2019-11-04T01:22:08","date_gmt":"2019-11-04T01:22:08","guid":{"rendered":"http:\/\/instructions.whiskyzulu.net\/?p=223"},"modified":"2020-08-17T09:10:08","modified_gmt":"2020-08-17T09:10:08","slug":"0006-relational-database-some-background","status":"publish","type":"post","link":"https:\/\/instructions.whiskyzulu.net\/index.php\/2019\/11\/04\/0006-relational-database-some-background\/","title":{"rendered":"0006 Relational Database some background"},"content":{"rendered":"\nIt 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.<\/p>\n\n\n\n
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.<\/p>\n\n\n\n
The main tables in this database at February 2020 are<\/p>\n\n\n\n
CASK FILL – holds information pertaining to whisky in a cask<\/p>\n\n\n\n
TRANSACTIONS – holds all individual transactions<\/p>\n\n\n\n
PERSON – holds the attributes of individuals<\/p>\n\n\n\n
ORGANISATION – holds attributes relating to separate organisations<\/p>\n\n\n\n
CASK NOTES – holds notes about differing casks<\/p>\n\n\n\n
CASK TRANSFER – holds notes about cask transfers<\/p>\n\n\n\n
CASK SAMPLES – holds details assoiciated with sampling of tables<\/p>\n\n\n\n
By referentially relating these tables and lookup tables infinite amounts of information are possible to be stored.<\/p>\n","protected":false},"excerpt":{"rendered":"
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… Continue reading 0006 Relational Database some background<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[13],"tags":[],"_links":{"self":[{"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/posts\/223"}],"collection":[{"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/comments?post=223"}],"version-history":[{"count":5,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions"}],"predecessor-version":[{"id":408,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/posts\/223\/revisions\/408"}],"wp:attachment":[{"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/media?parent=223"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/categories?post=223"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/instructions.whiskyzulu.net\/index.php\/wp-json\/wp\/v2\/tags?post=223"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}