Ask a Question related to ASP Database, Design and Development.
-
Bryce #1
ASP + SQL2000 : request with COMPUTE SUM(xx)
Hello,
this is the query :
select IdBC, DateBc, montantHT From Table_BC,
Table_LignesC where Table_BC.IdBC=Table_LignesC.IdBC order
by Table_BC.IdBC COMPUTE SUM(montantHT) by Table_BC.IdBC
I can acces to my selection (IdBC, DateBc, montantHT)
But how can i reach the famous sum ?
I've red that when you execute this kind of query it
returns 2 recordset
but i can't read the second.
Has someone already done this in ASP, or maybe could help
me ?
Thanks for your answers
Bryce Guest
-
sql2000 backwards
i made the mistake of getting the enterprise evaluation edition that will soon expire. i just purchased the developer edition and am wondering how... -
CF, SQL2000, and XML
Long story short, I need to create an XML file from a SQL table preferably with CF. Right now I'm using a test table just to figure out how to do... -
How do I get 'COMPUTE' output
Using the following SQL query: select MsgDate, 'User'= CASE SIP WHEN '192.168.0.2' THEN 'David' WHEN '192.168.0.3' THEN 'Eddie' WHEN... -
Perl - how to compute totals via hash request
Dear Perl Gurus, I have a tab delimited log file that contains data of system downtimes. It has 4 fields namely ID, type of downtime (whether... -
[Q] How to automatically compute a self relationship key
Consider the following using FMP Dev 6.04 and Mac OS X 10.2.6 : A DB with Names, addresses, etc. I want to automate the linking together of... -
Raymond D'Anjou \(raydan\) #2
Re: ASP + SQL2000 : request with COMPUTE SUM(xx)
Set oRst = oRst.nextrecordset
"Bryce" <bwattellier_NOSPAM@alris.com> wrote in message
news:007b01c38127$58f22e00$a401280a@phx.gbl...> Hello,
> this is the query :
> select IdBC, DateBc, montantHT From Table_BC,
> Table_LignesC where Table_BC.IdBC=Table_LignesC.IdBC order
> by Table_BC.IdBC COMPUTE SUM(montantHT) by Table_BC.IdBC
>
> I can acces to my selection (IdBC, DateBc, montantHT)
> But how can i reach the famous sum ?
> I've red that when you execute this kind of query it
> returns 2 recordset
> but i can't read the second.
> Has someone already done this in ASP, or maybe could help
> me ?
>
> Thanks for your answers
Raymond D'Anjou \(raydan\) Guest



Reply With Quote

