Share via


IDatabaseMetaData.ImportedKeySetNull Field

Definition

For the columns UPDATE_RULE and DELETE_RULE, indicates that when the primary key is updated or deleted, the foreign key (imported key) is changed to NULL.

[Android.Runtime.Register("importedKeySetNull")]
public const int ImportedKeySetNull = 2;
[<Android.Runtime.Register("importedKeySetNull")>]
val mutable ImportedKeySetNull : int

Field Value

Value = 2
Attributes

Remarks

For the columns UPDATE_RULE and DELETE_RULE, indicates that when the primary key is updated or deleted, the foreign key (imported key) is changed to NULL.

A possible value for the columns UPDATE_RULE and DELETE_RULE in the ResultSet objects returned by the methods getImportedKeys, getExportedKeys, and getCrossReference.

Java documentation for java.sql.DatabaseMetaData.importedKeySetNull.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to