Author: "Brazner, Bob" <Bob.Brazner AT JCI DOT COM>
Date: Wed, 19 Sep 2001 16:36:34 -0500
What SQL can I code to get a quick list of the archives I may have taken for a given node. I'm interested in getting the unique "descriptions". If I code select description from archives blah blah bl
Bob - try this macro. You are on the right track but you need the distinct function. I just ran it for a node with 20,000 archive files and it took 15 seconds wallclock. /* */ /* macro file to select
Bob - Here is another macro you might find useful. /* */ /* */ set sqldatetimeformat i set sqldisplaymode w set sqlmathmode r commit select count(*), type, left(description,96) as description - from