Well, I installed the cf7 trial on my test server, and started running 
some initial tests.

Damn me for having to use DB2 on a mainframe, but the following query 
doesn't work, and it fails in an inconsistent manner:

<CFQUERY NAME="qry" DATASOURCE="DSNa" DEBUG maxrows="1">
SELECT
        A.USERID,
        B.TABLFLD AS SECURITY_GROUP,
        C.TABLFLD AS ERUSERFLAG
FROM
        (ADUADS01.WEBALLUSERS A LEFT JOIN ADUADS01.TMOTB905 B
        ON A.userid=B.TABLKEY AND B.TABLID='940' AND B.FLDSEQ=2)
        LEFT JOIN ADUADS01.TMOTB905 C
        ON A.userid=C.TABLKEY AND C.TABLID='940' AND C.FLDSEQ=19
</CFQUERY>
<cfdump var="#qry.columnlist#">


outputs:

SECURITY_GROUP,TABLFLD,USERID

Note that C.TABLFLD is not properly renamed to ERUSERFLAG.

I'm willing to bet this is another one of those DB2 mainframe thing.

I just verified that the exact same query works fine when the underlying 
database is Oracle.

Sigh.

  - Rick


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193442
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to