HomeForum
Welcome, Guest

Tranforming Date fields
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Tranforming Date fields

Tranforming Date fields 11 months, 3 weeks ago #2820

  • Mike
  • OFFLINE
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
I have a date field, [SAP DATE] that contains a null value. I have the Is Date set to convert it to the current date and time if the field does not contain a date value. This part of the process works fine.

OK, so the validation editor should have changed the field from null to the Current Date and Time, then in the transformation editor, I am trying to convert the date format to MM/DD/YYYY, but it does not convert the date format and converts it back to null (because I have the "on error" set to null). I want to get the current date and time into target field in the MM/DD/YYYY format.

Help me please
Sincerely,
Mike
Attachments:

Re: Tranforming Date fields 11 months, 3 weeks ago #2821

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Hello

Advanced ETL Processor User Manual
page 129
DB Software Laboratory
Date
Date Format
Category: Transformation Function
Description: Returns Date in ‘yyyy-mm-dd hh:nn:ss.zzz' format.
In order to load Date fields into target database they should be converted into ‘yyyy-mm-dd
hh:nn:ss.zzz' format

I think what you need to do is to split date field using splitter and join it again in different order using joiner
  • Page:
  • 1
Time to create page: 0.14 seconds

Testimonials

Well this great product and I’ve ever seen …. Yet.

Inexpensive
User friendly
Trusted and Reliable
Best features
Great support
Very fast and best performance
Recommend for all groups (small, medium, large / enterprise)

C Gandhi
Nesa-Canada

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top