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.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 Need help in hierarchial sql

Author  Topic 

nels_jnjr
Starting Member

1 Post

Posted - 2009-09-17 : 09:16:26
Hi

I am generating a report that need to filter records from a table
here this table is a recursive table.
i need to display the record in report as follows
64
-- 6401
---- 640101
---- -- 64010101
-- 6405
---- 650101

i need exactly as it with the spacing
Please help me in this isssue.

Thanks in advance
Nelson

winterh
Posting Yak Master

127 Posts

Posted - 2009-09-17 : 09:23:38
You want it spaced with 2 less spaces than the number of digits?

[ /fail at humor]
Go to Top of Page

ra.shinde
Posting Yak Master

103 Posts

Posted - 2009-09-17 : 09:55:21
Table structure is required to give solution. Also some sample data will be helpful.

Rahul Shinde
Go to Top of Page
   

- Advertisement -