{"id":669,"date":"2016-08-23T16:49:45","date_gmt":"2016-08-24T01:49:45","guid":{"rendered":"\/blog\/?p=669"},"modified":"2023-09-21T09:37:58","modified_gmt":"2023-09-21T00:37:58","slug":"safenet-datasecure-%eb%b3%b5%ed%98%b8%ed%99%94-sql-%ec%83%98%ed%94%8c","status":"publish","type":"post","link":"https:\/\/hasu0707.duckdns.org\/blog\/?p=669","title":{"rendered":"SafeNet DataSecure \ubcf5\ud638\ud654 SQL \uc0d8\ud50c"},"content":{"rendered":"\n<font face=\"Courier New\" size=\"2\"><p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/\/ \ubcf5\ud638\ud654<\/span><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\r\n<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">SELECT<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ing_row_id\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">,<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"version_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">FROM<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ESVALI_TECH\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"tb_tech_history_hasu0707_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">WHERE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">(<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">version_new<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">IS<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">NOT<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">NULL<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">)<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ORDER<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">BY<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ing_row_id<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">UPDATE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ESVALI_TECH\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"tb_tech_history_hasu0707_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">SET<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"version\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">=<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ingrian<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"#FF0080\"><strong><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">Ingrawtostring<\/span><\/strong><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">(<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">?<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">)<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">WHERE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ing_row_id<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">=<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">?<\/span><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><br \/><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><br \/><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><br \/><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\">\/\/ \ud14c\uc774\ube14 \uc815\ub9ac<\/span><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><br \/><\/font><\/font><\/p>\r\n<p><font face=\"Courier New\" size=\"2\"><font color=\"silver\"><\/font><\/font><font face=\"Courier New\" size=\"2\"><font color=\"blue\"><span style=\"font-family: \uad74\ub9bc\uccb4, &quot;Courier New&quot;, &quot;Lucida Console&quot;;\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">S<\/span><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ELECT<\/span><\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ing_row_id<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">FROM<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ESVALI_TECH\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"tb_tech_history_hasu0707_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ORDER<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">BY<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ing_row_id<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">UPDATE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ESVALI_TECH\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"tb_tech_history_hasu0707_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">SET<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"customer\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">=<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"red\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">'&nbsp;'<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">WHERE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ing_row_id<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">=<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">?<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">ALTER<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">TABLE<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"ESVALI_TECH\"<\/span><\/font><font color=\"silver\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">.<\/span><\/font><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"tb_tech_history_hasu0707_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\r\n<\/span><br \/><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">DROP<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"blue\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">COLUMN<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span><font color=\"maroon\"><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">\"version_new\"<\/span><\/font><span style=\"font-family: &quot;Courier New&quot;, Courier, monospace;\">&nbsp;<\/span>\r\n<\/font>\r\n<\/p>\r\n<\/font>\n","protected":false},"excerpt":{"rendered":"<p>\/\/ \ubcf5\ud638\ud654 SELECT&nbsp;&#8220;ing_row_id&#8221;, &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#8220;version_new&#8221; FROM&nbsp;&nbsp;&nbsp;&#8220;ESVALI_TECH&#8221;.&#8221;tb_tech_history_hasu0707_new&#8221; WHERE&nbsp;&nbsp;(&nbsp;version_new&nbsp;IS&nbsp;NOT&nbsp;NULL&nbsp;) ORDER&nbsp;&nbsp;BY&nbsp;ing_row_id UPDATE&nbsp;&#8220;ESVALI_TECH&#8221;.&#8221;tb_tech_history_hasu0707_new&#8221; SET&nbsp;&nbsp;&nbsp;&nbsp;&#8220;version&#8221;&nbsp;=&nbsp;ingrian.Ingrawtostring(?) WHERE&nbsp;&nbsp;ing_row_id&nbsp;=&nbsp;? \/\/ \ud14c\uc774\ube14 \uc815\ub9ac SELECT&nbsp;ing_row_id FROM&nbsp;&nbsp;&nbsp;&#8220;ESVALI_TECH&#8221;.&#8221;tb_tech_history_hasu0707_new&#8221; ORDER&nbsp;&nbsp;BY&nbsp;ing_row_id UPDATE&nbsp;&#8220;ESVALI_TECH&#8221;.&#8221;tb_tech_history_hasu0707_new&#8221; SET&nbsp;&nbsp;&nbsp;&nbsp;&#8220;customer&#8221;&nbsp;=&nbsp;&#8216;&nbsp;&#8216; WHERE&nbsp;&nbsp;ing_row_id&nbsp;=&nbsp;? ALTER&nbsp;TABLE&nbsp;&#8220;ESVALI_TECH&#8221;.&#8221;tb_tech_history_hasu0707_new&#8221; &nbsp;&nbsp;DROP&nbsp;COLUMN&nbsp;&#8220;version_new&#8221;&nbsp;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[10],"tags":[],"class_list":["post-669","post","type-post","status-publish","format-standard","hentry","category-computing_database"],"_links":{"self":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=669"}],"version-history":[{"count":0,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/669\/revisions"}],"wp:attachment":[{"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hasu0707.duckdns.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}