Ask a Question related to Coldfusion Database Access, Design and Development.
-
Rich_Willmore #1
ATTN SQL Gurus: Data Roll Up
The data: Department Name Sales Rich Marketing Tom Marketing Dave
Sales Gary The intended result Department Name Sales Rich<br>Gary
Marketing Tom<br>Dave This can be down with some looping, structures, and
arrays. It just does not seem very elegant to loop through the data more than
once. Is there a SQL statement that can give me the intended results above?
Some sort of Aggregate (sp?) function? We are using Oracle 8.1.7.4 -- Rich
Rich_Willmore Guest
-
getLinks & VB.NET - Gurus, please help!!!
I am trying to use VS2005 (VB.NET) & the Acrobat SDK to do the following... - open a PDF - search each page for weblinks and read the target URL... -
Any DataGrid Gurus out there?
Hi How can I force a DataGrid into Edit Mode from Page_Load? How can I call the ItemCommand from Page_Load? Can I have a hidden CommandButton... -
Calling PHP gurus
It's nice to see all the support in this newsgroup. Hopefully I'll be a contributor soon. For now I'm hoping you could answer a question about... -
Question to all ASP GURUS
Hi all Is there any way I can copy one folder from one place to another place over the internet.... Kind regards -
Hey layers gurus-need an eye here
This is my first "real" attempt at using layers. www.billraydrums.com/7_19_03/new.htm Please take a look-see and give me some hints as to how... -
OldCFer #2
Re: ATTN SQL Gurus: Data Roll Up
It's pretty simple with cfoutput.
Select department, name from xxx order by department, name
<cfoutput query="yourquery" group="department">
#department#
<cfoutput>
#Name#
</cfoutput>
</cfoutput>
OldCFer Guest
-
Rich_Willmore #3
Re: ATTN SQL Gurus: Data Roll Up
You are very much correct. I keep forgetting about that attribute in CFOUTPUT.
Nesting CFOUTPUTs in any fashion just doesn't strike a cord with me I suppose.
Thanks for the reply. A friend of mine did offer a SQL server solution but it
was very 'loopy'. Too much work for something that can be accomplished with
cfoutput grouping. -- Rich
Rich_Willmore Guest
-
Rich_Willmore #4
Re: ATTN SQL Gurus: Data Roll Up
*continuing to eat my shoe*. +1 for the GROUP attribute on CFOUTPUT. The code is so much cleaner and faster now.
-- Rich
Rich_Willmore Guest



Reply With Quote

