Jul 19, 2005 #1 cdlvj MIS Nov 18, 2003 677 US Group, How in the world do you insert or update a DATE field, I have browsed the pdfs/http and cannot find an example anywhere. IDS 7.2 update table set lastdate = ??????????; Tried CURRENT, TODAY, DATE("2005/07/18"). Thanks in Advance.
Group, How in the world do you insert or update a DATE field, I have browsed the pdfs/http and cannot find an example anywhere. IDS 7.2 update table set lastdate = ??????????; Tried CURRENT, TODAY, DATE("2005/07/18"). Thanks in Advance.
Jul 24, 2005 #2 vpshriyan IS-IT--Management Jul 26, 2002 356 IN create temp table x (xdt date); insert into x values (today); select xdt from x; update x set xdt=mdy(06,23,2004); select xdt from x; update x set xdt=xdt + 1; select xdt from x; Upvote 0 Downvote
create temp table x (xdt date); insert into x values (today); select xdt from x; update x set xdt=mdy(06,23,2004); select xdt from x; update x set xdt=xdt + 1; select xdt from x;
Jul 25, 2005 Thread starter #3 cdlvj MIS Nov 18, 2003 677 US update table set lastdate = "03/05/2005"; It has to be in the above format mm/dd/yyyy. Upvote 0 Downvote
Jul 26, 2005 #4 vpshriyan IS-IT--Management Jul 26, 2002 356 IN Lookup and configure your date environment: Unix: echo $DBDATE export DBDATE=mdy4/ Windows: echo %DBDATE% set DBDATE=mdy4/ Upvote 0 Downvote
Lookup and configure your date environment: Unix: echo $DBDATE export DBDATE=mdy4/ Windows: echo %DBDATE% set DBDATE=mdy4/