亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費(fèi)注冊(cè) 查看新帖 |

Chinaunix

  平臺(tái) 論壇 博客 文庫(kù)
最近訪問板塊 發(fā)新帖
查看: 3833 | 回復(fù): 3
打印 上一主題 下一主題

db2 中Literal Replacement怎么理解,一直不明白,能否舉例說明。 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報(bào)告]
發(fā)表于 2009-06-16 17:15 |只看該作者 |倒序?yàn)g覽
10可用積分
關(guān)于Literal Replacement功能不知道怎么實(shí)現(xiàn),我的理解是:常量替換,允許只有常量不同,但其他都相同的SQL語句共享一個(gè)公共section. 從而降低編譯成本。但不知道怎么才能實(shí)現(xiàn),看到效果,請(qǐng)高手不吝指教!有相關(guān)的資料也可以!多謝!

論壇徽章:
0
2 [報(bào)告]
發(fā)表于 2009-06-16 18:16 |只看該作者
NCHAR String Literal Replacement

This section provides information on how to avoid data loss when performing NCHAR string literal replacement.
http://download.oracle.com/docs/ ... ch7progrunicode.htm

論壇徽章:
0
3 [報(bào)告]
發(fā)表于 2009-06-16 18:19 |只看該作者

回復(fù) #1 fuxc_666 的帖子

NCHAR String Literal Replacement

This section provides information on how to avoid data loss when performing NCHAR string literal replacement.

Being part of a SQL or PL/SQL statement, the text of any literal, with or without the prefix N, is encoded in the same character set as the rest of the statement. On the client side, the statement is in the client character set, which is determined by the client character set defined in NLS_LANG, or specified in the OCIEnvNlsCreate() call, or predefined as UTF-16 in JDBC. On the server side the statement is in the database character set.

    *

      When the SQL or PL/SQL statement is transferred from client to the database server, its character set is converted accordingly. It is important to note that if the database character set does not contain all characters used in the text literals, then the data is lost in this conversion. This problem affects NCHAR string literals more than the CHAR text literals. This is because the N' literals are designed to be independent of the database charactser set, and should be able to provide any data that the client character set supports.

      To avoid data loss in conversion to an incompatible

論壇徽章:
0
4 [報(bào)告]
發(fā)表于 2009-06-17 09:46 |只看該作者
我剛看到回復(fù)的信息,我還是不太明白,鏈接中所說的,能否有個(gè)例子說明一下,多謝!
您需要登錄后才可以回帖 登錄 | 注冊(cè)

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號(hào)-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號(hào):11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報(bào)專區(qū)
中國(guó)互聯(lián)網(wǎng)協(xié)會(huì)會(huì)員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請(qǐng)注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP