{"id":3838,"date":"2009-01-08T12:46:14","date_gmt":"2009-01-08T17:46:14","guid":{"rendered":"http:\/\/klishis.com\/notreally\/?p=3838"},"modified":"2009-01-11T16:27:51","modified_gmt":"2009-01-11T21:27:51","slug":"i-am-annoyed","status":"publish","type":"post","link":"https:\/\/klishis.com\/notreally\/archives\/3838","title":{"rendered":"I Am&#8230; Annoyed"},"content":{"rendered":"<p>So, many years ago, what is now my on-line book database started out life as a simple Excel workbook.<\/p>\n<p>When I had to learn MS Access several years ago, I took that Excel file, and tried to convert it into an Access file. It worked&#8230; ok. But at least got me comfortable with the basics of Access.<\/p>\n<p>A year or so later I started working with the woman who was helping me re-write our Access classes, and as an exercise she helped me again convert my Excel file into an Access database, and this time I had a better idea of what I was going, and built queries and life was seemingly good.<\/p>\n<p>Well, when I wanted to learn MySQL, I took that Access database and imported it into MySQL, and that&#8217;s how my book database began. I&#8217;ve used that database to learn to write queries of various types, and all kinds of PHP\/MySQL manipulations. And I&#8217;ve gone on to write other databases since then.<\/p>\n<p>Well, I&#8217;ve been tying to learn more of MySQL, and been playing with my database and been running into a LOT of trouble. It&#8217;s been frustrating, but I&#8217;ve mostly been able to get things to work. And as a matter of course the more I learn the more I discover that I should have done things differently, and gone back and changed this in light of this.<\/p>\n<p>Well, yesterday I had a problem I couldn&#8217;t figure out, so I had Michael look at it. He was playing with the queries, and then asked to look at the database structure. Since he was driving, I was looking at everything from a different angle, and I suddenly realized the whole damned database had been set up wrong.<\/p>\n<p>That&#8217;s right. Instead of having foreign keys liking the databases together, I repeated every bit of data in multiple tables.<\/p>\n<p>(deep breath)<\/p>\n<p>So I&#8217;ve dumped the entire thing back into Access, and I&#8217;m going to see if I can actually repair the damage.<\/p>\n<p>Wish me luck.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So, many years ago, what is now my on-line book database started out life as a simple Excel workbook. When I had to learn MS Access several years ago, I took that Excel file, and tried to convert it into an Access file. It worked&#8230; ok. But at least got me comfortable with the basics [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2,17],"tags":[358,357,353,352,354],"class_list":["post-3838","post","type-post","status-publish","format-standard","hentry","category-books-reading","category-computers-technology","tag-computers-suck","tag-database-design","tag-mysql","tag-php","tag-webdesign"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pefxA-ZU","_links":{"self":[{"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/posts\/3838","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/comments?post=3838"}],"version-history":[{"count":0,"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/posts\/3838\/revisions"}],"wp:attachment":[{"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/media?parent=3838"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/categories?post=3838"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/klishis.com\/notreally\/wp-json\/wp\/v2\/tags?post=3838"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}