User Defined Functions (for data conversion)?
Posted: Mon Jul 14, 2008 2:48 pm
I'm new at DS, so I appologise if this is a redundent question, but I could not find a suitable answer.
Is it possible to create my own function, specifically to reformat dates? I have close to 100 date fields requireing the same conversion, but over the course of the next two years, the source systems will be converted from SQL Server to Oracle and all the Iconv statement will need to to a redone.
I would like to put the logic in 1 place (a user defined function) and plug the function into the stages, then I need only update 1 line of code when the conversion is complete.
Is it possible to create my own function, specifically to reformat dates? I have close to 100 date fields requireing the same conversion, but over the course of the next two years, the source systems will be converted from SQL Server to Oracle and all the Iconv statement will need to to a redone.
I would like to put the logic in 1 place (a user defined function) and plug the function into the stages, then I need only update 1 line of code when the conversion is complete.