{"id":200,"date":"2024-10-07T20:28:59","date_gmt":"2024-10-07T20:28:59","guid":{"rendered":"https:\/\/www.kwwd.co.uk\/blog\/?p=200"},"modified":"2024-10-07T20:39:19","modified_gmt":"2024-10-07T20:39:19","slug":"rename-sql-table","status":"publish","type":"post","link":"https:\/\/www.kwwd.co.uk\/blog\/rename-sql-table\/","title":{"rendered":"Rename SQL Table"},"content":{"rendered":"<p>If you wish to rename a SQL table use the following code:<\/p>\n<pre><code class=\"language-sql\">\r\n    ALTER TABLE table_name\r\n    RENAME TO new_table_name;\r\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>If you wish to rename a SQL table use the following code: ALTER TABLE table_name RENAME TO new_table_name;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[29],"tags":[31,24],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-mysql","tag-database","tag-mysql"],"_links":{"self":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kwwd.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}