Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date field

Status
Not open for further replies.
Sep 16, 2005
191
US
Anyone know the swl syntax for check a null date field.. I have a begin date that have data and I have an end date that is blank.. What is the syntax to check for the end date field ?
 
If by SWL you mean SQL then:
a) This is a SQL question, not a Crystal one
b) This syntax can be DBMS dependant, what brand are you using?
 
if you have the syntax for the begin date then apply it to the end date.

WHEN enddate is NULL then '01/01/1980' ELSE enddate END as EndDateFormatted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top