For this test, the Ex versions of the strsafe functions set NULL on failure and 0xfe as the fill byte.
在测试中,调用ex版本的strsafe系列函数的程序会在调用失败时把缓冲区设为NULL,并以0xfe作为填充字节,代码如下。
When ON delete set NULL is active, when a record is deleted from the parent table, all records in the child table with matching foreign key values are set to NULL.
当ON DELETESET NULL规则被激活时,如果一条记录从父表中删除,子表中的所有记录以及匹配的外键值都被设置为NULL。
Additional code could be added to perform a check to see if the new value is a user-defined value indicating that the database value should be set to NULL or the default value defined for the column.
可以添加额外的代码来执行一个检查,检查新值是不是一个用户定义值,用以表明数据库值应该被设置为NULL或针对该列定义的默认值。
If doesn't exist or is NULL, exit the command or script and display the error message set with.
如果不存在或者是NULL,就退出命令或脚本并显示用设置的错误消息。
To avoid this problem, you can define a complex type to wrap the value type and set the complex type to be null to indicate a null reference.
为了避免这个问题的出现,您可以定义复合类型来封装数值类型,并将这个复合类型置为空来表示空引用。
The use of these specific columns ensures that the related column values are not inadvertently set to NULL.
这些特定列的使用能够确保相关的列值不会意外设置为NULL。
An error could occur in the first test and prevent the variable's value from being set, thus resulting in the other tests receiving a null value.
错误可以发生在首个测试期间,并阻止您去设置变量的值,并导致其他的测试接受一个空值。
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.
如果是前一种情况,那么该列的指示符变量被设置为- 1,这导致该列被更新为空值。
The opendir() and readdir() functions both return NULL if a problem occurs and the errno global variable is set to indicate what went wrong.
在出现问题时,opendir()和readdir()函数都会返回NULL,并且将设置全局变量 errno 的值,以指出所出现的错误。
The "name" column will be a CHAR (30), set to NOT NULL, and have a unique index on it.
“name”列的类型是CHAR(30),不允许为空,而且根据此列建立了一个索引。
Here, the namespace is set to namespace, but it could just as easily have been left blank or null if no namespace were wanted.
此处名称空间设置为NAMESPACE,但若不需要名称空间,直接将此处留空即可。
The above error can occur if the Sybase existing table definition declares one of the columns to be NOT NULL but there is no value for that column in one of the records of the result set.
如果sybase现有表定义声明某一列为NOT NULL,但是在结果集中的某一行记录在那一列没有值,就可能发生上述错误。
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的指示符变量,将支持空值的列设置为空值。
This rule set contains some of the more questionable checks, including assigning null to a variable, multiple return points from a method, and importing from the sun packages.
这个规则集包含一些更有问题的检验,其中包括把null赋值给变量、方法中有多个返回点,以及从sun包导入等。
For items that have two paths to send, there is a null byte after the first path, and it is followed by the second path, with the pathlen field of the message being set to the total length.
对于有两个路径需要发送的项,那么在第一个路径之后有一个null字节,其后紧跟第二个路径,并且消息的pathlen字段被设置为总长度。
This may be in the form of specific set values (for example, all 9's or 'Do Not Use') or blank values (where a blank represents a keystroke distinct from a null value).
这可能以特定的设置值(例如所有的9或‘DoNotUse’)或空白值(一个空白表示一个按键,这不同于一个null值)的形式出现。
It is very important that you have the correct null modem cable with you to set up the debugging environment.
为了设置调试环境,拥有正确的零调制解调器电缆是非常重要的。
If this checkbox is not selected, the generated WSDL is set to (null), as shown in Listing 7.
如果这个复选框没有选择,那么产生的WSDL的设置为(空的),如列表7所示。
To disable DB2 to run on the SAP setting, simply set the DB2_WORKLOAD registry variable to NULL and restart the database instance.
若要禁用SAP设置上运行的DB2,就只要将 DB2_WORKLOAD注册表变量设置为 NULL,并重新启动数据库实例。
The last set includes a colon (:) between the variable name and the substitution operator, which adds the check to see if the variable is NULL, as well.
后一组定义在变量名和替换操作符之间包含一个冒号(:),这会额外检查变量是否是NULL。
The constructor function has no parameters and returns an instance of the type with all of its attributes set to null values.
构造函数没有参数,并且返回的类型实例中的所有属性都为空。
If the accept header is null, this means that the client accepts any type, so the default is set.
如果Accept标头为空,这意味着该客户端可接受任何类型,因此设置了缺省值。
If viewForward is null, this variable is set to failure in the execute method.
如果viewforward为空,那么在execute方法中会将这一变量设置为failure。
If you do not want to have the event source set the current correlation sphere ID, you should pass null in as the second parameter.
如果您不想让事件源设置当前相关性的sphereID,您应该将第二个参数设置为空。
Whenever you are adding an item to a result set, and that item does not contain one of the requested selection properties, null should be returned instead.
在将条目添加进结果集中时,如果条目不包含请求的选择属性之一,那么应该返回null。
After working with obj after this if block, you should set obj to null to enable the garbage collector to reclaim this object to take full advantage of weak references.
在使用这个if块之后的obj之后,您应该将ob j设置为null,从而让垃圾收集器能够回收这个对象以充分利用弱引用。
If the pointer for an overlapped operation is set to NULL, DeviceIoControl will work in a blocked (synchronous) way.
如果重叠操作的指针设为NULL,那么DeviceIoControl将以阻塞(同步)方式工作。
You can still have memory leaks if you forget to set unused Pointers to null.
如果您忘记将不再使用的指针设置为null,那么仍然会有内存泄漏。
You can still have memory leaks if you forget to set unused Pointers to null.
如果您忘记将不再使用的指针设置为null,那么仍然会有内存泄漏。
应用推荐