INF: Storing a Directory Tree and Maintaining a Full Path Using Recursive Triggers (222657)
The information in this article applies to:
- Microsoft SQL Server 7.0
- Microsoft SQL Server 2000 (all editions)
This article was previously published under Q222657 SUMMARY
The ability to create recursive triggers is a new feature of SQL Server starting with version 7.0. This article contains a Transact-SQL script that demonstrates an example of using recursive triggers to create a parent/child self-joining relationship to store a directory tree and maintain a full path. This gives you the best of both worlds: great update capability of the parent/child relationship and the query performance in getting the full path.
Modification Type: | Major | Last Reviewed: | 11/3/2003 |
---|
Keywords: | kbhowto kbinfo KB222657 |
---|
|