{"id":108,"date":"2021-10-04T19:49:21","date_gmt":"2021-10-05T00:49:21","guid":{"rendered":"https:\/\/sites.owu.edu\/geog-199\/?p=108"},"modified":"2021-10-05T00:37:03","modified_gmt":"2021-10-05T05:37:03","slug":"mcconkey-chapter-8","status":"publish","type":"post","link":"https:\/\/sites.owu.edu\/geog-293\/2021\/10\/04\/mcconkey-chapter-8\/","title":{"rendered":"McConkey: Chapter 8"},"content":{"rendered":"<p>Chapter 8 covers manipulating spatial and tabular data. You may want to briefly refamiliarize yourself with &#8220;for&#8221; and &#8220;while&#8221; loops before reading this chapter. It would also be wise to familiarize yourself with Structured Query Language (SQL).<\/p>\n<p>Important details to remember:<\/p>\n<p>&#8211; Once a script creates an exclusive lock, the lock will continue to exist until the script releases the lock.<\/p>\n<p>Terms<\/p>\n<p>cursor &#8211; is a database technology term for accessing a set of records in a table. It works the way list functions work.<\/p>\n<p>search cursor &#8211; retrieves rows<\/p>\n<p>insert cursor &#8211; inserts rows<\/p>\n<p>update cursor &#8211; updates and deletes rows<\/p>\n<p>rows &#8211; records in a table<\/p>\n<p>with statements &#8211; Good to use when you have two operations that you want to run as a pair<\/p>\n<p>data locks &#8211; prevent multiple processes from changing the same table at the same time in two different applications. (includes shared lock and exclusive locks)<\/p>\n<p>shared lock &#8211; is applied when a table or dataset is accessed<\/p>\n<p>exclusive lock &#8211; are applied when changes are being made to a table or dataset<\/p>\n<p>parsing &#8211; splitting the fully qualified name for a dataset into its components <\/p>\n<p>Table 8.1 (pg 248) describes the cursor methods of each class<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Chapter 8 covers manipulating spatial and tabular data. You may want to briefly refamiliarize yourself with &#8220;for&#8221; and &#8220;while&#8221; loops before reading this chapter. It would also be wise to familiarize yourself with Structured Query Language (SQL). Important details to <span class=\"readmore\"><a href=\"https:\/\/sites.owu.edu\/geog-293\/2021\/10\/04\/mcconkey-chapter-8\/\">Continue Reading<\/a><\/span><\/p>\n","protected":false},"author":2121,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-108","post","type-post","status-publish","format-standard","hentry","category-chapter-notes"],"_links":{"self":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/users\/2121"}],"replies":[{"embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/comments?post=108"}],"version-history":[{"count":2,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/108\/revisions"}],"predecessor-version":[{"id":110,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/posts\/108\/revisions\/110"}],"wp:attachment":[{"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/media?parent=108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/categories?post=108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sites.owu.edu\/geog-293\/wp-json\/wp\/v2\/tags?post=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}