Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
IPA/ProcessFlow
Oracle DB LMLEASE TERMINATE_DATE IS NULL how to query null
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Jeffin Joy
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
4988
People Online:
Visitors:
57
Members:
0
Total:
57
Online Now:
New Topics
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Chris Martin
825
Forums
Filtered Topics
Unanswered
Unresolved
Active Topics
Most Liked
Most Replies
Search Forums
Advanced Search
Prev
Next
Forums
Integration / Customization
IPA/ProcessFlow
Oracle DB LMLEASE TERMINATE_DATE IS NULL how to query null
Please
login
to post a reply.
1 Replies
0
Subscribed to this topic
53 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
amylynanderson
Advanced Member
Posts: 26
10/28/2010 8:00 PM
How do I query null values of a date?
SELECT BB.COMPANY, BB.LEASE, BB.END_DATE, BB.TERMINATE_DATE, AA.DUE_DATE, MAX(AA.PMT_NBR) FROM LMPAYDTL AA, LMLEASE BB WHERE AA.COMPANY = BB.COMPANY AND AA.LEASE = BB.LEASE AND BB.R_STATUS = 1 AND BB.COMPANY = AND BB.TERMINATE_DATE = '1700-01-01' GROUP BY BB.COMPANY, BB.LEASE, BB.END_DATE, BB.TERMINATE_DATE, AA.DUE_DATE
mjuusola
New Member
Posts: 1
11/19/2010 5:56 PM
Split
Use the TO_CHAR function.
TO_CHAR(BB.TERMINATE_DATE ,'YYYYMMDD')='17000101'
Please
login
to post a reply.