{"id":466,"date":"2017-07-06T10:07:26","date_gmt":"2017-07-06T14:07:26","guid":{"rendered":"https:\/\/folvera.commons.gc.cuny.edu\/?p=466"},"modified":"2021-09-16T14:58:10","modified_gmt":"2021-09-16T18:58:10","slug":"database-administration-fundamentals-ws17sql1007-day-4","status":"publish","type":"post","link":"https:\/\/folvera.commons.gc.cuny.edu\/?p=466","title":{"rendered":"Database Administration Fundamentals (WS17SQL1007) &#8211; Day 4"},"content":{"rendered":"<p>We\u00a0have covered various <a title=\"What is function? - Definition from WhatIs.com\" href=\"http:\/\/whatis.techtarget.com\/definition\/function\" target=\"_blank\" rel=\"noopener noreferrer\">functions<\/a> for <a title=\"What is string? - Definition from WhatIs.com\" href=\"http:\/\/whatis.techtarget.com\/definition\/string\" target=\"_blank\" rel=\"noopener noreferrer\">strings<\/a> and numeric values. Last night we looked at <tt>FORMAT()<\/tt>, which coverts a numeric value (<tt>DATETIME<\/tt>, <tt>DATE<\/tt>, <tt>TIME<\/tt>, <tt>MONEY<\/tt>, <tt>FLOAT<\/tt>, <tt>DECIMAL<\/tt>, etc.) into a string (<tt>VARCHAR()<\/tt>, <tt>NVARCHAR()<\/tt>, etc.).<\/p>\n<p>Download the\u00a0<a title=\"Class Notes for WS17SQL1007 - Day 4 (2017\/07\/05)\" href=\"https:\/\/folvera.commons.gc.cuny.edu\/files\/2017\/07\/WS17SQL1007.20170705.pdf\">class notes<\/a>\u00a0for day 4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We\u00a0have covered various functions for strings and numeric values. Last night we looked at FORMAT(), which coverts a numeric value (DATETIME, DATE, TIME, MONEY, FLOAT, DECIMAL, etc.) into a string (VARCHAR(), NVARCHAR(), etc.). Download the\u00a0class notes\u00a0for day 4.<\/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":[19,3,1,17,2],"tags":[],"class_list":["post-466","post","type-post","status-publish","format-standard","hentry","category-ws17sql1007","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\/466","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=466"}],"version-history":[{"count":1,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts\/466\/revisions"}],"predecessor-version":[{"id":468,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=\/wp\/v2\/posts\/466\/revisions\/468"}],"wp:attachment":[{"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=466"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=466"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/folvera.commons.gc.cuny.edu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=466"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}