{"id":883,"date":"2019-10-15T09:56:19","date_gmt":"2019-10-15T13:56:19","guid":{"rendered":"https:\/\/folvera.commons.gc.cuny.edu\/?p=883"},"modified":"2021-09-16T14:57:23","modified_gmt":"2021-09-16T18:57:23","slug":"database-administration-fundamentals-sf19sql1002-day-3","status":"publish","type":"post","link":"https:\/\/folvera.commons.gc.cuny.edu\/?p=883","title":{"rendered":"Database Administration Fundamentals (SF19SQL1002) \u2013 Day 3"},"content":{"rendered":"<p>We have started creating, dropping and altering objects.<\/p>\n<pre><span style=\"color: #0000ff\">  CREATE<\/span>  <span style=\"color: #0000ff\">db_object<\/span>  obj_name   [code_structure];\r\n\r\n  <span style=\"color: #0000ff\">DROP<\/span>    <span style=\"color: #0000ff\">db_object<\/span>  obj_name;\r\n\r\n  <span style=\"color: #0000ff\">ALTER<\/span>   <span style=\"color: #0000ff\">db_object<\/span>  obj_name   <span style=\"color: #0000ff\">ADD<\/span>|<span style=\"color: #0000ff\">DROP<\/span>|<span style=\"color: #0000ff\">ALTER<\/span>  db_object  data_type;<\/pre>\n<p>Download the\u00a0class notes for\u00a0<a title=\"Class Notes for WS19SQL10004 - Day 3 (2019\/12\/05)\" href=\"https:\/\/folvera.commons.gc.cuny.edu\/wp-content\/blogs.dir\/2501\/files\/2019\/10\/SF19SQL1002_20191012a.pdf\">day 3(a)<\/a>\u00a0and\u00a0<a title=\"Class Notes for WS19SQL10004 - Day 3 (2019\/10\/12)\" href=\"https:\/\/folvera.commons.gc.cuny.edu\/wp-content\/blogs.dir\/2501\/files\/2019\/10\/SF19SQL1002_20191012b.pdf\">day 3(b)<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have started creating, dropping and altering objects. CREATE db_object obj_name [code_structure]; DROP db_object obj_name; ALTER db_object obj_name ADD|DROP|ALTER db_object data_type; Download the\u00a0class notes for\u00a0day 3(a)\u00a0and\u00a0day 3(b).<\/p>\n","protected":false},"author":7213,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"send_to_group_blog":0,"footnotes":""},"categories":[27,3,1,17,2],"tags":[],"class_list":["post-883","post","type-post","status-publish","format-standard","hentry","category-sf19sql1002","category-computer-programming","category-cuny","category-open-source","category-sql"],"_links":{"self":[{"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts\/883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/users\/7213"}],"replies":[{"embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=883"}],"version-history":[{"count":2,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts\/883\/revisions"}],"predecessor-version":[{"id":890,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts\/883\/revisions\/890"}],"wp:attachment":[{"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}