In the SQL statement you are passing the Column name (assuming 'subtotal' is
the col. name) and from the AL you pass the column value.
If that is correct then you need to replace that with the column name.
Regards,
Vivake Panagariya
-----Original Message-----
From: Kevin Shaffer [mailto:kevin.shaffer@EVERGREENSYS.COM]
Sent: Thursday, December 19, 2002 8:14 AM
To: ARSLIST@ARSLIST.ORG
Subject: SQL Statement
This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.
------=NextPart00101C2A768.ED6F0AB0
Content-Type: text/plain
In SQL Analyzer I type in this command and I get the result I want
SELECT SUM(subtotal)
FROM HARSOFTWARELICENSEBREAKDOWN
WHERE SLMREQUESTID = 00000000000064
When I create an active link and run the following SQL statement I get a
different result. Can anyone see what I am doing wrong.
SELECT SUM($SubTotal$)
FROM HARSOFTWARELICENSEBREAKDOWN
WHERE SLMREQUESTID = $SLM Request ID$
Thanks
You may control your subscription options, including UNSUBSCRIBE,and ACCESS
THE ARCHIVES at http://www.ARSLIST.org. For ARSList support, please send
eMail to support@arslist.org
------=NextPart00101C2A768.ED6F0AB0
Content-Type: text/html
Content-Transfer-Encoding: quoted-printable
**
charset=3Dus-ascii">
5.5.2653.12">
SQL Statement
In SQL Analyzer I type in this command and I get the =
result I want
SELECT SUM(subtotal)
FROM HARSOFTWARELICENSEBREAKDOWN
WHERE SLMREQUESTID =3D 00000000000064
When I create an active link and run the following =
SQL statement I get a different result. Can anyone see what I am =
doing wrong.
SELECT SUM($SubTotal$)
FROM HARSOFTWARELICENSEBREAKDOWN
WHERE SLMREQUESTID =3D $SLM Request ID$
Thanks
To UNSUBSCRIBE, email the message "unsubscribe arslist" to:
listserv@arslist.org
You may also control your subscription options, including UNSUBSCRIBE, at
http://www.ARSLIST.org This posting was submitted via the Web interface
------=NextPart00101C2A768.ED6F0AB0--
You may control your subscription options, including UNSUBSCRIBE,and ACCESS THE ARCHIVES at http://www.ARSLIST.org. For ARSList support, please send eMail to support@arslist.org