Aracılığıyla paylaş


SQLForeignKeys

SQL Server supports cascading updates and deletes through the foreign key constraint mechanism.SQL Server returns SQL_CASCADE for UPDATE_RULE and/or DELETE_RULE columns if CASCADE option is specified on the ON UPDATE and/or ON DELETE clause of the FOREIGN KEY constraints.SQL Server returns SQL_NO_ACTION for UPDATE_RULE and/or DELETE_RULE columns if NO ACTION option is specified on the ON UPDATE and/or ON DELETE clause of the FOREIGN KEY constraints.

Geçersiz değerler olduğunda birinde sunar. SQLForeignKeys parametresiSQLForeignKeys SQL_SUCCESS yürütülmesine döndürür.SQLFetch Bu parametreler geçersiz değerler kullanıldığında, SQL_NO_DATA döndürür.

SQLForeignKeys imleç statik bir sunucu üzerinde çalıştırılabilir.yürütmek denemesi SQLForeignKeys güncelleştirilebilir (dinamik veya anahtar kümesi) imlecin üzerinde imleç türü değişti gösteren SQL_SUCCESS_WITH_INFO döndürür.

The SQL Server Native istemci ODBC driver supports reporting information for tables on linked servers by accepting a two-part name for the FKCatalogName and PKCatalogName parameters: Linked_Server_Name.Catalog_Name.

See Also

Concepts

Other Resources