Reputation: 12842
I want to store the regional information of a customer, for this, I will create the following tables
But using hierarchyid
in SQL Server 2008, I think I can store the information in a single table called Region. Am I right?
Upvotes: 0
Views: 381
Reputation: 46947
If Country, State and District
share the same columns than a tree like structure would fit your needs.
You could use hierarchyid
or just a self referencing foreign key
Upvotes: 2