{"id":186,"date":"2011-01-26T09:51:29","date_gmt":"2011-01-26T09:51:29","guid":{"rendered":"http:\/\/www.masterlevel.de\/blog\/?p=186"},"modified":"2011-07-28T13:20:25","modified_gmt":"2011-07-28T13:20:25","slug":"mysql-eine-spalte-mit-werten-fullen","status":"publish","type":"post","link":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/","title":{"rendered":"MySQL: eine spalte mit werten f\u00fcllen"},"content":{"rendered":"<p>N\u00fctzlich wenn man eine neue Spalte zu einer exisitierenden Tabelle hinzuf\u00fcgt und mit Werten bef\u00fcllen will:<\/p>\n<p>UPDATE tabelle SET spalte = &#8217;neuer wert&#8216;<\/p>\n<p>Nur in leere Spalten Werte einf\u00fcgen:<\/p>\n<p>UPDATE tabelle SET spalte=&#8217;neuer wert&#8216; WHERE beschreibung IS NULL<\/p>\n<p>Aktuellen Timestamp einf\u00fcgen:<\/p>\n<p>UPDATE tabelle SET spalte = CURRENT_TIMESTAMP<\/p>\n<p>usw. &#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>N\u00fctzlich wenn man eine neue Spalte zu einer exisitierenden Tabelle hinzuf\u00fcgt und mit Werten bef\u00fcllen will: UPDATE tabelle SET spalte = &#8217;neuer wert&#8216; Nur in leere Spalten Werte einf\u00fcgen: UPDATE tabelle SET spalte=&#8217;neuer wert&#8216; WHERE beschreibung IS NULL Aktuellen Timestamp einf\u00fcgen: UPDATE tabelle SET spalte = CURRENT_TIMESTAMP usw. &#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[28,86,94],"tags":[],"class_list":["post-186","post","type-post","status-publish","format-standard","hentry","category-beginner","category-mysql","category-snippets"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>MySQL: eine spalte mit werten f\u00fcllen - masterlevel<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"J. Adler\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/\"},\"author\":{\"name\":\"J. Adler\",\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/#\\\/schema\\\/person\\\/e6868eda89eb09db99b63d9d8dd4b63f\"},\"headline\":\"MySQL: eine spalte mit werten f\u00fcllen\",\"datePublished\":\"2011-01-26T09:51:29+00:00\",\"dateModified\":\"2011-07-28T13:20:25+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/\"},\"wordCount\":60,\"commentCount\":0,\"articleSection\":[\"Beginner\",\"MySQL\",\"Snippets\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/\",\"url\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/\",\"name\":\"MySQL: eine spalte mit werten f\u00fcllen - masterlevel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/#website\"},\"datePublished\":\"2011-01-26T09:51:29+00:00\",\"dateModified\":\"2011-07-28T13:20:25+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/#\\\/schema\\\/person\\\/e6868eda89eb09db99b63d9d8dd4b63f\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/mysql-eine-spalte-mit-werten-fullen\\\/\"]}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/\",\"name\":\"masterlevel\",\"description\":\"Manche Sachen vergi\u00dft man, weil man sie nicht oft braucht - deshalb stehen sie hier...\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/#\\\/schema\\\/person\\\/e6868eda89eb09db99b63d9d8dd4b63f\",\"name\":\"J. Adler\",\"url\":\"https:\\\/\\\/www.masterlevel.de\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"MySQL: eine spalte mit werten f\u00fcllen - masterlevel","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/","twitter_misc":{"Verfasst von":"J. Adler"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/#article","isPartOf":{"@id":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/"},"author":{"name":"J. Adler","@id":"https:\/\/www.masterlevel.de\/blog\/#\/schema\/person\/e6868eda89eb09db99b63d9d8dd4b63f"},"headline":"MySQL: eine spalte mit werten f\u00fcllen","datePublished":"2011-01-26T09:51:29+00:00","dateModified":"2011-07-28T13:20:25+00:00","mainEntityOfPage":{"@id":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/"},"wordCount":60,"commentCount":0,"articleSection":["Beginner","MySQL","Snippets"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/","url":"https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/","name":"MySQL: eine spalte mit werten f\u00fcllen - masterlevel","isPartOf":{"@id":"https:\/\/www.masterlevel.de\/blog\/#website"},"datePublished":"2011-01-26T09:51:29+00:00","dateModified":"2011-07-28T13:20:25+00:00","author":{"@id":"https:\/\/www.masterlevel.de\/blog\/#\/schema\/person\/e6868eda89eb09db99b63d9d8dd4b63f"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.masterlevel.de\/blog\/mysql-eine-spalte-mit-werten-fullen\/"]}]},{"@type":"WebSite","@id":"https:\/\/www.masterlevel.de\/blog\/#website","url":"https:\/\/www.masterlevel.de\/blog\/","name":"masterlevel","description":"Manche Sachen vergi\u00dft man, weil man sie nicht oft braucht - deshalb stehen sie hier...","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.masterlevel.de\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Person","@id":"https:\/\/www.masterlevel.de\/blog\/#\/schema\/person\/e6868eda89eb09db99b63d9d8dd4b63f","name":"J. Adler","url":"https:\/\/www.masterlevel.de\/blog\/author\/admin\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/posts\/186","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/comments?post=186"}],"version-history":[{"count":13,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/posts\/186\/revisions"}],"predecessor-version":[{"id":190,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/posts\/186\/revisions\/190"}],"wp:attachment":[{"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/media?parent=186"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/categories?post=186"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.masterlevel.de\/blog\/wp-json\/wp\/v2\/tags?post=186"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}