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

assign empty to a date field

Status
Not open for further replies.

R17

Programmer
Joined
Jan 20, 2003
Messages
267
Location
PH

how do i assign empty records to a date field using select - sql?

i tried select {^ / / } as mydate, but i'm getting an error.

any help?

TIA
 


got it, i used {} to create an empty date field.
 
R17

To add to Ramani's suggestion this also works
Code:
SELECT CTOD('') as myDate,* from MyTable...

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top