Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » ElevateDB Technical Support » Support Forums » ElevateDB SQL » View Thread |
Messages 1 to 2 of 2 total |
Huh? What am I doing wrong here?? |
Mon, Mar 21 2022 5:00 PM | Permanent Link |
Ian Branch | Hi Team,
I have a table with, among others, the following fields.. 1. PVSent a boolean flag; and 2. PONo a CLOB. If I apply the following sql, all is fine.. {sql} select * from PVPayments where PVSent = False order by PVNo {sql} I get what I expect. If I apply the following sql... {sql} select * from PVPayments where Upper(Trim(BOTH ' ' from PONo)) <> 'CANCELLED' order by PVNo {sql} I also get what I expect. But if I combine them.. {sql} select * from PVPayments where PVSent = False and Upper(Trim(BOTH ' ' from PONo)) <> 'CANCELLED' order by PVNo {sql} I get rubbish. Help! Regards & TIA, Ian |
Mon, Mar 21 2022 11:55 PM | Permanent Link |
Ian Branch | All good. Senior's moment, or two.
|
This web page was last updated on Friday, April 19, 2024 at 07:09 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |