Click here to Skip to main content
15,910,118 members
Home / Discussions / Database
   

Database

 
AnswerRe: Sql Reporting Services Pin
Wendelius30-Dec-08 4:35
mentorWendelius30-Dec-08 4:35 
GeneralRe: Sql Reporting Services Pin
member2730-Dec-08 18:03
member2730-Dec-08 18:03 
GeneralRe: Sql Reporting Services Pin
Ben Fair5-Jan-09 3:46
Ben Fair5-Jan-09 3:46 
GeneralRe: Sql Reporting Services Pin
Ben Fair5-Jan-09 3:50
Ben Fair5-Jan-09 3:50 
GeneralRe: Sql Reporting Services Pin
member278-Jan-09 1:31
member278-Jan-09 1:31 
QuestionNesting Level exceed (limit 32) Pin
ashkan_ertefa28-Dec-08 21:40
ashkan_ertefa28-Dec-08 21:40 
AnswerRe: Nesting Level exceed (limit 32) Pin
Wendelius29-Dec-08 8:05
mentorWendelius29-Dec-08 8:05 
GeneralRe: Nesting Level exceed (limit 32) Pin
Ben Fair30-Dec-08 5:11
Ben Fair30-Dec-08 5:11 
This most definitely is the problem. The usual alternative to recursion is to introduce a stack structure. Essentially, you're using a stack with recursion: the call stack. However, when you run into these types of issues you usually have to create your own stack. It's pretty easy to do in SQL Server, a temp table will be your stack and you'll have an integer column that represents the nest level. As you go through your loop you will select from the temp table records with max nest level. If those items have children, you will create a new nest level, if not you have reached the end of that level of nesting and will work back through the earlier nest levels. Also, with a stack you usually have to pre-fill it with a single root record to get the whole process going. I've seen an article or two about doing this type of thing with Common Table Expressions, but have never tried that approach myself, but it may end up being easier that way.

Keep It Simple Stupid! (KISS)

GeneralRe: Nesting Level exceed (limit 32) Pin
Wendelius30-Dec-08 5:26
mentorWendelius30-Dec-08 5:26 
QuestionThere is a problem when connecting SQL SERVER 2000 from Windows Vista Machine. Pin
pubududilena28-Dec-08 21:22
pubududilena28-Dec-08 21:22 
AnswerRe: There is a problem when connecting SQL SERVER 2000 from Windows Vista Machine. Pin
Wendelius29-Dec-08 7:55
mentorWendelius29-Dec-08 7:55 
QuestionConcatenate names from all all the rows to one column Pin
member2728-Dec-08 20:44
member2728-Dec-08 20:44 
AnswerRe: Concatenate names from all all the rows to one column Pin
Wendelius29-Dec-08 7:49
mentorWendelius29-Dec-08 7:49 
GeneralRe: Concatenate names from all all the rows to one column Pin
Mycroft Holmes30-Dec-08 14:19
professionalMycroft Holmes30-Dec-08 14:19 
GeneralRe: Concatenate names from all all the rows to one column Pin
Jon_Boy30-Dec-08 14:21
Jon_Boy30-Dec-08 14:21 
GeneralRe: Concatenate names from all all the rows to one column Pin
Wendelius30-Dec-08 22:15
mentorWendelius30-Dec-08 22:15 
AnswerRe: Concatenate names from all all the rows to one column Pin
Khawar Abbas129-Dec-08 20:11
Khawar Abbas129-Dec-08 20:11 
GeneralRe: Concatenate names from all all the rows to one column Pin
Rob Philpott30-Dec-08 1:15
Rob Philpott30-Dec-08 1:15 
AnswerRe: Concatenate names from all all the rows to one column Pin
Rob Philpott30-Dec-08 1:14
Rob Philpott30-Dec-08 1:14 
GeneralRe: Concatenate names from all all the rows to one column Pin
member2730-Dec-08 1:18
member2730-Dec-08 1:18 
QuestionStored Proc & Web service Pin
vamsimohan2128-Dec-08 17:20
vamsimohan2128-Dec-08 17:20 
AnswerRe: Stored Proc & Web service Pin
Wendelius29-Dec-08 7:46
mentorWendelius29-Dec-08 7:46 
GeneralRe: Stored Proc & Web service Pin
Dave Kreskowiak30-Dec-08 15:23
mveDave Kreskowiak30-Dec-08 15:23 
GeneralRe: Stored Proc & Web service Pin
Wendelius30-Dec-08 19:37
mentorWendelius30-Dec-08 19:37 
AnswerRe: Stored Proc & Web service Pin
Vimalsoft(Pty) Ltd29-Dec-08 22:40
professionalVimalsoft(Pty) Ltd29-Dec-08 22:40 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.