Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
james_b
Starting Member
9 Posts |
Posted - 2004-08-05 : 12:45:59
|
| ok, I've taken the advice I was given and got rid of the previous link tableso if I have the following:PlaceId PlaceName PlaceBasedOnId***********************************************1 USA <NULL> 2 UK <NULL>3 Florida 1 4 Yorkshire 25 Orlando 3 6 East_Yorkshire 47 Scarborough 6How would I go about writing Sql to achieve a result similar to:USA - Florida - OrlandoUK - Yorkshire - East_Yorkshire - Scarboroughbearing in mind that I might need to add a "sub-zone" of scarborough at some point (so sql must be able to cope with n dimensions?)thanks for any help :)james |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
|
|
Seventhnight
Master Smack Fu Yak Hacker
2878 Posts |
|
|
|
|
|