{"id":602,"date":"2021-04-03T18:22:31","date_gmt":"2021-04-03T12:52:31","guid":{"rendered":"https:\/\/selfimagination.in\/tips\/?p=602"},"modified":"2021-04-03T18:22:33","modified_gmt":"2021-04-03T12:52:33","slug":"mysql-delete-truncate","status":"publish","type":"post","link":"https:\/\/selfimagination.in\/tips\/mysql-delete-truncate\/","title":{"rendered":"MySQL Delete : DML Statement With Example"},"content":{"rendered":"\n<p class=\"wp-block-zozuk-wphindi\">\u0907\u0938 \u0906\u0930\u094d\u091f\u093f\u0915\u0932 \u092e\u0947\u0902 \u0939\u092e MySQL Delete \u0914\u0930 MySQL Truncate \u0915\u0947 \u092c\u093e\u0930\u0947 \u092e\u0947\u0902 \u0938\u092e\u091d\u0947\u0902\u0917\u0947 <\/p>\n\n\n\n<h4 class=\"wp-block-heading\">DELETE FROM TABLE (\u091f\u0947\u092c\u0932 \u092e\u0947\u0902 \u0938\u0947 \u0921\u093e\u091f\u093e \u0915\u094b \u092e\u093f\u091f\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f)<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>\u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0938\u0947 \u0939\u092e \u0921\u093e\u091f\u093e \u0915\u094b \u0921\u093f\u0932\u0940\u091f \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 <\/li><li>\u0915\u094b\u0908 Specific Condition \u092a\u0930 \u092d\u0940 \u0921\u093e\u091f\u093e Delete \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 <\/li><li>\u092f\u0926\u093f \u0907\u0938 \u091f\u0947\u092c\u0932 \u092a\u0930 \u0915\u094b\u0908 \u091f\u094d\u0930\u093f\u0917\u0930 \u0932\u093f\u0916\u093e \u0939\u0948\u0902 \u0924\u094b \u0921\u093f\u0932\u0940\u091f \u0915\u0930\u0928\u0947 \u0938\u0947 \u091f\u094d\u0930\u093f\u0917\u0930 \u0915\u0940 Delete Event \u0915\u0949\u0932 \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 <\/li><li>\u092f\u0926\u093f \u0905\u092a\u0928\u0947 \u092c\u093f\u0928\u093e Execute \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947 \u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0915\u094b \u090f\u0915\u094d\u0938\u0947\u0915\u094d\u092f\u0942\u091f\u0947 \u0915\u0930 \u0926\u093f\u092f\u093e \u0924\u094b \u091f\u0947\u092c\u0932 \u0915\u093e \u0938\u093e\u0930\u093e \u0921\u093e\u091f\u093e \u0921\u093f\u0932\u0940\u091f \u0939\u094b \u091c\u093e\u090f\u0917\u093e <\/li><li>\u0939\u092e\u0947\u0936\u093e \u092a\u094d\u0930\u0949\u092a\u0930 \u091a\u0947\u0915 \u0915\u0930\u0915\u0947 \u0939\u0940 \u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0947 <\/li><li>\u091f\u094d\u0930\u0902\u0915\u0947\u091f \u0915\u0940 \u0924\u0941\u0932\u0928\u093e \u092e\u0947\u0902 \u092f\u0939 \u0915\u092e\u093e\u0902\u0921 \u0938\u094d\u0932\u094b \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 <\/li><li>\u0915\u094b\u0908 \u092d\u0940 \u091f\u0947\u092c\u0932 \u0915\u0947 \u0921\u093e\u091f\u093e \u0938\u0947 \u0915\u093f\u0938\u0940 \u0914\u0930 \u091f\u0947\u092c\u0932 \u092e\u0947\u0902 \u092f\u0926\u093f \u0921\u093e\u091f\u093e \u0907\u095e\u0947\u0915\u094d\u091f \u0939\u094b \u0930\u0939\u093e \u0939\u094b \u0924\u094b \u0921\u093f\u0932\u0940\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0921\u093f\u0932\u0940\u091f \u0915\u093e \u0939\u0940 \u0909\u092a\u092f\u094b\u0917 \u0915\u0930\u0928\u093e \u091a\u093e\u0939\u093f\u090f <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Delete Statement<\/h2>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\"><strong>DELETE FROM mytable WHERE column1 = 'VALUE';<\/strong><\/code><\/pre>\n\n\n\n<hr class=\"wp-block-separator alignfull\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Truncate : DML Statement<\/h2>\n\n\n\n<h4 class=\"wp-block-heading\">TRUNCATE TABLE ( \u091f\u0947\u092c\u0932 \u092e\u0947\u0902 \u0938\u0947 \u0921\u093e\u091f\u093e \u0915\u094b \u092a\u0930\u092e\u093e\u0928\u0947\u0902\u091f \u092e\u093f\u091f\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f)<\/h4>\n\n\n\n<ul class=\"wp-block-list\"><li>\u092f\u0939 \u0915\u092e\u093e\u0902\u0921 \u095e\u093e\u0938\u094d\u091f \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 <\/li><li>\u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0915\u094b Execute \u0915\u0930\u0928\u0947 \u0938\u0947 \u091f\u0947\u092c\u0932 \u092a\u0930 \u092f\u0926\u093f \u0915\u094b\u0908 \u091f\u094d\u0930\u093f\u0917\u0930 \u0932\u093f\u0916\u093e \u0939\u0948\u0902 \u0924\u094b \u0935\u0939 Execute \u0928\u0939\u0940\u0902 \u0939\u094b\u0917\u093e <\/li><li>\u0907\u0938 \u092e\u0947\u0902 \u0906\u092a \u0935\u0947\u092f\u0930 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0928\u0939\u0940\u0902 \u0915\u0930 \u0938\u0915\u0924\u0947 <\/li><li>\u0939\u092e \u0915\u0939 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u0940 \u092f\u0939 \u0915\u092e\u093e\u0902\u0921 \u0915\u093f\u0938\u0940 \u092d\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u0940 \u091a\u0947\u0915\u093f\u0902\u0917 \u0928\u0939\u0940\u0902 \u0915\u0930\u0924\u093e \u0921\u093e\u092f\u0930\u0947\u0915\u094d\u091f \u091f\u0947\u092c\u0932 \u092e\u0947\u0902 \u0938\u0947 \u0921\u093e\u091f\u093e Remove \u0915\u0930 \u0926\u0947\u0924\u0940 \u0939\u0948\u0902 <\/li><li>\u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0938\u0947 \u0921\u093e\u091f\u093e \u0915\u094b \u092e\u093f\u091f\u093e\u0928\u0947 \u0915\u0947 \u092c\u093e\u0926 \u0939\u092e Recover \u0928\u0939\u0940\u0902 \u0915\u0930 \u0938\u0915\u0924\u0947 !<\/li><li>\u092f\u0926\u093f \u091f\u0947\u092c\u0932 \u092a\u0930 \u0915\u093f\u0938\u0940 \u092a\u094d\u0930\u0915\u093e\u0930 \u0915\u093e \u091f\u094d\u0930\u093f\u0917\u0930 \u0928\u0939\u0940\u0902 \u0939\u0948\u0902 \u0914\u0930 \u0906\u092a\u0915\u094b \u092a\u0942\u0930\u093e \u0921\u093e\u091f\u093e \u0939\u0940 \u0921\u093f\u0932\u0940\u091f \u0915\u0930\u0928\u093e \u0939\u094b \u0924\u094b \u0906\u092a \u091f\u094d\u0930\u0902\u0915\u0947\u091f \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 <\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">MySQL Truncate Statement<\/h2>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"sql\" class=\"language-sql\"><strong><strong>TRUNCATE TABLE&nbsp;mytable<\/strong><\/strong>;<\/code><\/pre>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u0909\u092a\u0930\u094b\u0915\u094d\u0924 \u0926\u094b\u0928\u094b\u0902 \u0915\u092e\u093e\u0902\u0921 \u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0921\u093e\u091f\u093e \u0921\u093f\u0932\u0940\u091f \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u0939\u0940 \u0939\u094b\u0924\u093e \u0939\u0948\u0902 \u092c\u0938 \u0915\u0941\u091b Features \u0905\u0932\u0917-\u0905\u0932\u0917 \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 , Speed \u0914\u0930 Safety \u0915\u0947 \u0939\u093f\u0938\u093e\u092c \u0938\u0947 \u0907\u0928\u0915\u093e \u0909\u092a\u092f\u094b\u0917 \u0915\u093f\u092f\u093e \u091c\u093e\u0924\u093e \u0939\u0948\u0902 \u0964<\/p>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\"><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.sl.SQL_Logic\" target=\"_blank\" rel=\"noopener\">MySQL Logic \u090f\u0902\u0921\u094d\u0930\u093e\u0907\u0921 \u090f\u092a\u094d\u092a \u0921\u093e\u0909\u0928\u0932\u094b\u0921 \u0915\u0930\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f \u092f\u0939\u093e\u0901 \u0915\u094d\u0932\u093f\u0915 \u0915\u0930\u0947<\/a><br><a href=\"https:\/\/selfimagination.in\/tips\/mysql-tutorial-basic-n-advance\/\">MySQL Basic &amp; Advance \u0915\u0947 \u0932\u093f\u090f \u092a\u0922\u093c\u0947<\/a><\/p>\n\n\n\n<p class=\"wp-block-zozuk-wphindi\">\u0906\u092a\u0915\u094b <span id=\"90_TRN_0\">\u092f\u0939 \u0906\u0930\u094d\u091f\u093f\u0915\u0932 \u0915\u0948\u0938\u093e \u0932\u0917\u093e \u0939\u092e\u0947\u0902 \u091c\u0930\u0942\u0930 \u092c\u0924\u093e\u092f\u0947 <\/span>, \u0927\u0928\u094d\u092f\u0935\u093e\u0926\u094d <\/p>\n","protected":false},"excerpt":{"rendered":"<p>DELETE FROM TABLE (\u091f\u0947\u092c\u0932 \u092e\u0947\u0902 \u0938\u0947 \u0921\u093e\u091f\u093e \u0915\u094b \u092e\u093f\u091f\u093e\u0928\u0947 \u0915\u0947 \u0932\u093f\u090f) \u0907\u0938 \u0915\u092e\u093e\u0902\u0921 \u0938\u0947 \u0939\u092e \u0921\u093e\u091f\u093e \u0915\u094b \u0921\u093f\u0932\u0940\u091f \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u0915\u094b\u0908 Specific Condition \u092a\u0930 \u092d\u0940 \u0921\u093e\u091f\u093e Delete \u0915\u0930 \u0938\u0915\u0924\u0947 \u0939\u0948\u0902 \u092f\u0926\u093f \u0907\u0938 \u091f\u0947\u092c\u0932 \u092a\u0930 \u0915\u094b\u0908 \u091f\u094d\u0930\u093f\u0917\u0930 \u0932\u093f\u0916\u093e \u0939\u0948\u0902 \u0924\u094b \u0921\u093f\u0932\u0940\u091f \u0915\u0930\u0928\u0947 \u0938\u0947 \u091f\u094d\u0930\u093f\u0917\u0930 \u0915\u0940 Delete Event \u0915\u0949\u0932 \u0939\u094b\u0924\u0940 \u0939\u0948\u0902 \u092f\u0926\u093f \u0905\u092a\u0928\u0947 \u092c\u093f\u0928\u093e Execute \u0915\u093e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":792,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[5],"tags":[],"class_list":["post-602","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mysql"],"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"https:\/\/i0.wp.com\/selfimagination.in\/tips\/wp-content\/uploads\/2021\/04\/mysql-delete.jpg?fit=1200%2C628&ssl=1","_links":{"self":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/602","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/comments?post=602"}],"version-history":[{"count":6,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/602\/revisions"}],"predecessor-version":[{"id":793,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/posts\/602\/revisions\/793"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media\/792"}],"wp:attachment":[{"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/media?parent=602"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/categories?post=602"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/selfimagination.in\/tips\/wp-json\/wp\/v2\/tags?post=602"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}