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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Replacing Nulls with a temp value. 1

Status
Not open for further replies.

iaresean

Programmer
Mar 24, 2003
570
ZA
Hi All;

I am trying to do date between select on a table that has startdate and enddate columns, however, a problem I am having is that some records have a 'NULL' enddate. These records signify 'never-ending' events.

Is there any way for me to assign a value (like '2099/01/01') to these null enddates for the duration on my query? I am aware of a method of creating a temptable first and then updating the endates within this table, however, I would like to know if I could satisfy my requirements with a single select statement.

Thank you for any and all help!

Sean. [peace]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top