doc-exports/docs/dws/tool/dws_16_0203.html
Lu, Huayi 27019c2991 DWS TOOL 830.201 version
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com>
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Lu, Huayi <luhuayi@huawei.com>
Co-committed-by: Lu, Huayi <luhuayi@huawei.com>
2024-05-16 07:35:25 +00:00

24 lines
2.3 KiB
HTML

<a name="EN-US_TOPIC_0000001772536572"></a><a name="EN-US_TOPIC_0000001772536572"></a>
<h1 class="topictitle1">SET</h1>
<div id="body8662426"><p id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_p1772115533343">MySQL REPLACE supports the use of SET settings, which the Migration tool will convert.</p>
<p id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_p8060118"><strong id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_b1649819584109">Input</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_screen133614117112">replace INTO `runoob_datatype_test` VALUES (100, 100, 100, 0, 1);
replace INTO `runoob_datatype_test` VALUES (100.23, 100.25, 100.26, 0.12,1.5);
replace INTO `runoob_datatype_test` (dataType_numeric,dataType_numeric1) VALUES (100.23, 100.25);
replace INTO `runoob_datatype_test` (dataType_numeric,dataType_numeric1,dataType_numeric2) VALUES (100.23, 100.25, 2.34);
replace into runoob_datatype_test set dataType_numeric=23.1, dataType_numeric4 = 25.12 ;</pre>
<p id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_p1655610571120"><strong id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_b7976151221116">Output</strong></p>
<pre class="screen" id="EN-US_TOPIC_0000001772536572__en-us_topic_0000001706224317_en-us_topic_0000001387747096_en-us_topic_0214164445_screen531101513116">INSERT INTO "public"."runoob_datatype_test" VALUES (100,100,100,0,1);
INSERT INTO "public"."runoob_datatype_test" VALUES (100.23,100.25,100.26,0.12,1.5);
INSERT INTO "public"."runoob_datatype_test" ("datatype_numeric","datatype_numeric1") VALUES (100.23,100.25);
INSERT INTO "public"."runoob_datatype_test" ("datatype_numeric","datatype_numeric1","datatype_numeric2") VALUES (100.23,100.25,2.34);
INSERT INTO "public"."runoob_datatype_test" ("datatype_numeric","datatype_numeric4") VALUES (23.1,25.12);</pre>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dws_16_0198.html">REPLACE</a></div>
</div>
</div>