<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Oracle &#8211; 良的世界</title>
	<atom:link href="https://www.lemonary.cn/tag/oracle/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.lemonary.cn</link>
	<description></description>
	<lastBuildDate>Fri, 21 Mar 2025 02:50:59 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://www.lemonary.cn/wp-content/uploads/2024/12/profile-150x150.jpg</url>
	<title>Oracle &#8211; 良的世界</title>
	<link>https://www.lemonary.cn</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>案例：将Oracle中CONVERT函数字符串编码格式转换</title>
		<link>https://www.lemonary.cn/%e5%b0%86oracle%e4%b8%adconvert%e5%87%bd%e6%95%b0%e5%ad%97%e7%ac%a6%e4%b8%b2%e7%bc%96%e7%a0%81%e6%a0%bc%e5%bc%8f%e8%bd%ac%e6%8d%a2/</link>
					<comments>https://www.lemonary.cn/%e5%b0%86oracle%e4%b8%adconvert%e5%87%bd%e6%95%b0%e5%ad%97%e7%ac%a6%e4%b8%b2%e7%bc%96%e7%a0%81%e6%a0%bc%e5%bc%8f%e8%bd%ac%e6%8d%a2/#respond</comments>
		
		<dc:creator><![CDATA[shine]]></dc:creator>
		<pubDate>Fri, 21 Mar 2025 02:50:56 +0000</pubDate>
				<category><![CDATA[DM]]></category>
		<category><![CDATA[ENABLE_CS_CVT]]></category>
		<category><![CDATA[Oracle]]></category>
		<guid isPermaLink="false">https://www.lemonary.cn/?p=1789</guid>

					<description><![CDATA[一、问题描述 从Oracle迁移到DM如何将Oracle CONVERT函数字符串从原串编码格式转换成目的编码 [&#8230;]]]></description>
										<content:encoded><![CDATA[
<h2 class="wp-block-heading">一、问题描述</h2>



<p class="wp-block-paragraph">从Oracle迁移到DM如何将Oracle CONVERT函数字符串从原串编码格式转换成目的编码格式。</p>



<h2 class="wp-block-heading">二、问题解决</h2>



<ol class="wp-block-list">
<li>将达梦数据库参数<code>ENABLE_CS_CVT</code>设置为1。</li>



<li>重启达梦数据库</li>
</ol>



<p class="wp-block-paragraph">参数说明：</p>



<div class="wpdt-c row wpDataTableContainerSimpleTable wpDataTables wpDataTablesWrapper
"
    >
        <table id="wpdtSimpleTable-29"
           style="border-collapse:collapse;
                   border-spacing:0px;"
           class="wpdtSimpleTable wpDataTable"
           data-column="4"
           data-rows="2"
           data-wpID="29"
           data-responsive="0"
           data-has-header="0">

                    <tbody>        <tr class="wpdt-cell-row " >
                                <td class="wpdt-cell wpdt-fs-000016 wpdt-bold"
                                            data-cell-id="A1"
                    data-col-index="0"
                    data-row-index="0"
                    style=" width:18.905472636816%;                    padding:10px;
                    "
                    >
                                        参数名                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016 wpdt-bold"
                                            data-cell-id="B1"
                    data-col-index="1"
                    data-row-index="0"
                    style=" width:8.5820895522388%;                    padding:10px;
                    "
                    >
                                        缺省值                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016 wpdt-bold"
                                            data-cell-id="C1"
                    data-col-index="2"
                    data-row-index="0"
                    style=" width:6.592039800995%;                    padding:10px;
                    "
                    >
                                        属性                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016 wpdt-bold"
                                            data-cell-id="D1"
                    data-col-index="3"
                    data-row-index="0"
                    style=" width:65.92039800995%;                    padding:10px;
                    "
                    >
                                        说明                    </td>
                                        </tr>
                            <tr class="wpdt-cell-row " >
                                <td class="wpdt-cell wpdt-fs-000016"
                                            data-cell-id="A2"
                    data-col-index="0"
                    data-row-index="1"
                    style="                    padding:10px;
                    "
                    >
                                        ENABLE_CS_CVT                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016"
                                            data-cell-id="B2"
                    data-col-index="1"
                    data-row-index="1"
                    style="                    padding:10px;
                    "
                    >
                                        0                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016"
                                            data-cell-id="C2"
                    data-col-index="2"
                    data-row-index="1"
                    style="                    padding:10px;
                    "
                    >
                                        静态                    </td>
                                                <td class="wpdt-cell wpdt-fs-000016"
                                            data-cell-id="D2"
                    data-col-index="3"
                    data-row-index="1"
                    style="                    padding:10px;
                    "
                    >
                                        是否使用用户自定义的 CONVERT 方法替换系统默认 CONVERT 方法。<br>0：不替换；1：替换                    </td>
                                        </tr>
                    </table>
</div><style id='wpdt-custom-style-29'>
.wpdt-fs-000016 { font-size: 16px !important;}
</style>




<p class="wp-block-paragraph">当<code>ENABLE_CS_CVT=1</code>时，支持将字符串CHAR从原串编码格式转换成目的编码格式。</p>



<p class="wp-block-paragraph">如果原字符串没指定，默认为数据库服务器编码格式，目前只支持ZHS16GBK、AL32UTF8、UTF8、和ZHS32GB18030四种编码格式。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.lemonary.cn/%e5%b0%86oracle%e4%b8%adconvert%e5%87%bd%e6%95%b0%e5%ad%97%e7%ac%a6%e4%b8%b2%e7%bc%96%e7%a0%81%e6%a0%bc%e5%bc%8f%e8%bd%ac%e6%8d%a2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
