Archives of the TeradataForum
Message Posted: Mon, 07 Jan 2002 @ 12:35:37 GMT
Sorry, missed that bit. yes, I think you need to extract the parts and put them back together, try this:
sel (extract(hour from time) (format '99.')) ||(extract(minute from time) (format '99.')) || substring( ((time (format '99:99:99.999999')) (char(15))) from 7 for 9);
You can always add in the DATE portion as required.
Ward Analytics Ltd: Information in motion (www.ward-analytics.com)
|Copyright 2016 - All Rights Reserved|
|Last Modified: 27 Dec 2016|