Share via


AddFolderForeignKey Procedure (Repository.Item Schema)

[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]

Adds a foreign key constraint to the [Repository.Item].[FoldersTable] table.

[Repository.Item].[AddFolderForeignKey] ( @schema, @baseName, @folderColumn )

Arguments

@schema

Type: sysname. The schema for the target table or view.

@baseName

Type: nvarchar(99). The name of the target table or view. If this is the name of a view, then the table name must use the same base name appended with the word "Table".

@folderColumn

Type: sysname. The column name that stores Folder values in the target table or view.

Remarks

See Also

Reference

Repository.Item Procedures
Repository.Item Schema

Send comments about this topic to Microsoft.