R
Rob T
Changes of anyone experiencing this is slim, but it's worth a shot
asking....
I'm using ODBC to connect to an AS/400 and have no problem querying it. My
problem is that when I do a left join on a table that may return null
values, I cannot pass the criteria "is null" or "= null". When I add this
criteria, the program bombs stating this: "ERROR [42000] [IBM]{Client
Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0128 - Use of NULL is
not valid"
So, How do I check for a null value?
Below is a crude example of how the join should work.
Select * from myTable1 left join myTable1 on (myTable1.col1=myTable2.col2)
where myTable2.stuff is null
Any suggestions? Thanks!
-Rob T.
PS. sorry for the cross post...I was hoping someone in ado may have an
idea....
asking....
I'm using ODBC to connect to an AS/400 and have no problem querying it. My
problem is that when I do a left join on a table that may return null
values, I cannot pass the criteria "is null" or "= null". When I add this
criteria, the program bombs stating this: "ERROR [42000] [IBM]{Client
Access Express ODBC Driver (32-bit)][DB2/400 SQL]SQL0128 - Use of NULL is
not valid"
So, How do I check for a null value?
Below is a crude example of how the join should work.
Select * from myTable1 left join myTable1 on (myTable1.col1=myTable2.col2)
where myTable2.stuff is null
Any suggestions? Thanks!
-Rob T.
PS. sorry for the cross post...I was hoping someone in ado may have an
idea....