Dec 21, 2003 #1 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
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
Dec 21, 2003 Thread starter #2 R17 Programmer Joined Jan 20, 2003 Messages 267 Location PH got it, i used {} to create an empty date field. Upvote 0 Downvote
Dec 21, 2003 #3 ramani Programmer Joined Mar 15, 2001 Messages 4,336 Location AE HI SELECT {} AS myDate, * FROM myTable...... ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version. Upvote 0 Downvote
HI SELECT {} AS myDate, * FROM myTable...... ____________________________________________ ramani - (Subramanian.G) http://winnersoft.coolfreepages.com/When you ask VFP questions, please add VFP version.
Dec 22, 2003 #4 Mike Gagnon Programmer Joined Apr 6, 2002 Messages 8,067 Location CA 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. Upvote 0 Downvote
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.