Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
I have the table Tasks: and fieldname is Taskcode:In the Taskcode: i can enter .01 or .01.102 or .01.102.103 etcSo i have to find searching all rows in that table to that field to see where maximum points are.each point represents one level:if it is .01 only it is only one level since it has only one point in it.if it is .01.12.14 then it has three levels, i see there are three points in it.once i establish the maximum levels then i can do the other stuff.Can you please tell me, is it possible to get that info.Table name is Tasks and field name is Taskcode.Please Help, Thank you very much for the information.
TG
Master Smack Fu Yak Hacker
6065 Posts
Posted - 2005-05-14 : 00:38:39
This doesn't seem like a very good design but here is one answer to your question: