HomeForum
Welcome, Guest

Inserting sysdate
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Inserting sysdate

Inserting sysdate 10 months, 3 weeks ago #3098

  • jelson
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
I want to insert sysdate into a target table's column and not able to insert i selected the date format as M/D/YYYY but rest of the data and fields are loaded except sysdate field.How to insert sysdate using sql command from import process

rgds
jelson

Re: Inserting sysdate 10 months, 3 weeks ago #3099

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Jelson

Here are couple of examples which might help you

This one will not load any data because no date format was provided

This one will load data

If your target database is oracle you may also use oracle functions to achieve the same result.


Hope that helps,
Mike
Attachments:

Re: Inserting sysdate 10 months, 3 weeks ago #3100

  • jelson
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Hi
the date format i am giving M/D/YYYY and is there any way we can change the format.I tried different format but its not working

rgds
jelson

Re: Inserting sysdate 10 months, 3 weeks ago #3101

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Is it working now?
Is there anything we can do to help?

Mike

Re: Inserting sysdate 10 months, 3 weeks ago #3102

  • jelson
  • OFFLINE
  • Fresh Boarder
  • Posts: 13
  • Karma: 0
Hi Mike
I mapped the sysdate and its worked and i didnt tried the method you mentioned in the screenshot but it will be useful and i dont know whether M/D/YYYY is the only supported format for import method cos when i changed to any other format its not inserting the data

rgds
jelson

Re: Inserting sysdate 10 months, 3 weeks ago #3103

  • admin
  • OFFLINE
  • Moderator
  • Posts: 2191
  • Karma: 12
Jelson

I am glad it worked for you

Just for your information

Format is used for source data, not for target

If your source data in M/D/YYYY format this is the format you should use.

Mike
  • Page:
  • 1
Time to create page: 0.18 seconds

Testimonials

"The products are stable and the support is good. I would (and have) recommend to anyone needing to automate data management tasks or integrate disparate systems."

Gene Kovacs,
Director of Technical Business Operations,
A2B

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