空指示符值在SQLFETCH语句执行过程中填充。
The null indicator values are populated during the execution of the SQL FETCH statement.
如果列被定义为支持空值,那么您必须相应更新空指示符映射。
If the column is defined as null capable, then you must update the null indicator map accordingly.
空指示符值在执行SQLupdate语句之前通过RPG handle_update子过程设置。
The null indicator values are set by the RPG HANDLE_UPDATE sub-procedure prior to executing the SQL UPDATE statement.
使用基于结构的IO方法时,RPG将为输入和输出缓冲区创建初始存储空间,并为空指示符映射创建存储空间。
When using the structure based IO method, RPG will create the initial storage for the input and output buffers, along with storage for the null indicator map.
RPG使用一个1字符字段(比如一个指示符)来确定列是否包含空值。
RPG uses a 1 character field (like an indicator) to determine if a column contains nulls.
如果是前一种情况,那么该列的指示符变量被设置为- 1,这导致该列被更新为空值。
If the former is true, then the indicator variable for that column is set to -1 which results in the column being updated with the null value.
在DB 2fori 6.1发布之前,SQLUpdate和insert语句能够使用一个值为- 1的指示符变量,将支持空值的列设置为空值。
Prior to the DB2 for I 6.1 release, SQL Update and Insert statements could use an indicator variable with a value of -1 to set a null capable column to the null value.
在DB 2fori 6.1发布之前,SQLUpdate和insert语句能够使用一个值为- 1的指示符变量,将支持空值的列设置为空值。
Prior to the DB2 for I 6.1 release, SQL Update and Insert statements could use an indicator variable with a value of -1 to set a null capable column to the null value.
应用推荐