[comp.sys.sgi] Looking for code for my Ph.D thesis

lieuwen@mycella.cs.wisc.edu (Dan Lieuwen) (12/07/90)

I'm a Ph.D student with Dr. DeWitt of the University of Wisconsin-Madison.
I'm looking for some code of a particular style.  You can modify it
so I can't tell what it does and still have it be useful to me though
not as useful.  Being able to see the form of the code is useful in and
of itself.  Being able to understand it helps, but isn't essential.

Do you have any embedded SQL with "master-detail" layout?
Basically, I'm looking for code with the following form:

   loop while cursor1 not empty {
        ...
        loop while cursor2 not empty {
        ...
        }
        ...
   }

If I could take a look at it, I would be most appreciative.
I'm working on optimizing such code as part of my current research,
and would like to see if the ideas I've come up with work on any real
code (ie anything other than the code I cook up by hand in examples).


In addition to nested cursors, I would love to get my hands on code that
has a call from within a cursor to a procedure that contains a query.

Also very desirable are procedures containing queries that call other
procedures containing queries.

Thanks for your help.

Dan
-- 
	
--Dan Lieuwen--
When people talk of "separation of church and state", they often merely
mean that those they disagree with should keep their values out of politics.
However, no one believes that they themselves should keep their own values
out of politics.