Whenever any request is sent from a DB2 client to the DB2 server, all character data (such as queries or char host variables) is converted from the client code page to the database code page.
每当从DB 2客户机发生任何请求到DB 2服务器,所有字符数据(例如查询或CHAR主机变量)都要从客户机代码页转换为数据库代码页。
There is a code page conversion to the SQL world if the value is serialized into a CHAR, VARCHAR, or CLOB type that is not FOR BIT DATA.
如果值被串行化为不是 FOR BIT DATA 的 CHAR、VARCHAR 或 CLOB 类型,那么会有一个到 SQL 世界的代码页转换。
CHAR Stores single-byte or multibyte text strings of fixed length (up to 32,767 bytes); supports code-set order in collation of text data.
CHAR存储固定长度的单字节或多字节的文本字符串(最高可达32,767个字节);在整理文本数据时支持使用代码集顺序。
This is convention, so on almost-- and most any computer you overuse, if you're writing code that uses a char, you're gonna be handed 8 bits or 1 byte to store that particular char.
这是约定,对于大多数-,电脑,当你写代码要用到一个char型数据时,必须先预留8比特或1字节,的空间来存储这个char型数据。
So, after the second line for code here char * s1 gets the return value of get string this is what the state of our world looks like.
在第二行之后,这个代码char,*s1,等于GetSting的返回值,这就是它看起来的状态。
应用推荐