May 14, 2010, 10:40 AM
Gayle DeGennaroData Migrator Date conversion
I have, what I hope, is an easy question. I am using Data Migrator to move data from our transactional system (Unidata) into our warehouse (MS SQL). I want to concatenate two items, the current system date and an alphanumeric field. I have been playing with the date functions can can not seem to come up with the correct combination that will not give me an error.
The goal is take today's system date and concatenate it with an asterisk and a term value.
For example,
Today's date: 5/14/2010
Term (A5 value): 10/WI
I would like to have it look like (alpha fixed): 20100514*10WI
Any suggestions from the group?
Thank you!
Gayle DeGennaro
Franklin University
May 14, 2010, 10:50 AM
Tom FlynnNEW_VAL/A14 = '&YYMD.EVAL' || '*' || EDIT(TERM,'99$99);
May 14, 2010, 10:57 AM
Gayle DeGennaroWow that was a quick response!!
That worked great!! Thank you so much. I was trying all kinds of date conversion functions which I obviously didn't need.
Thank you again!
Gayle DeGennaro
May 14, 2010, 11:06 AM
Tom FlynnHi Gayle,
Welcome! Glad it worked for you, even though my example is missing the last quote on the EDIT piece...which YOU fixed...
Tom