SQL Data Generator, Datatype: hierarchyid
Testuser
Posts: 4 New member
We are testing SQL Data Generator.
we have a table with a hierarchy ID column:
/
/1/
/ 1/1 /
/ 1/1/1 /
/ 1/1/2 /
/ 2 /
/ 2/1 /
etc.
With the data generator we can generate hierarchyid data without problems:
/ 1002/16262/19222/14780 /
/ 10021/14301/8796/8797 /
/ 10036/18117/24409/28027 /
etc.
But the generated values do not represent a hierarchy, the higher-level IDs are missing.
We would expect such values, e.g.
/ 1002 /
/ 1002/16262 /
/ 1002/16262/19222 /
/ 1002/16262/19222/14780 /
Is there a way to create such hierarchical IDs so that the hierarchy is complete.
Thanks.
Thanks.
Tagged:
Answers
Dan Jary | Redgate Software
Have you visited our Help Center?
Dan Jary | Redgate Software
Have you visited our Help Center?